{
 "cells": [
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# 地理编码、逆地理编码、步行路径规划（代码A）\n",
    "**我认为只是进行了数据交换，因此没有含有ML和AI的功能**"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {
    "ExecuteTime": {
     "end_time": "2020-04-22T11:17:05.911303Z",
     "start_time": "2020-04-22T11:17:04.954569Z"
    }
   },
   "outputs": [],
   "source": [
    "import pandas as pd"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {
    "ExecuteTime": {
     "end_time": "2020-04-22T11:17:06.076417Z",
     "start_time": "2020-04-22T11:17:05.912299Z"
    }
   },
   "outputs": [],
   "source": [
    "import requests\n",
    "key_zyi=\"317b2b98b27b266839553f10debb9b0f\""
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### A-1 获取地理编码"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {
    "ExecuteTime": {
     "end_time": "2020-04-22T11:17:06.657361Z",
     "start_time": "2020-04-22T11:17:06.078370Z"
    }
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "{'status': '1', 'info': 'OK', 'infocode': '10000', 'count': '1', 'geocodes': [{'formatted_address': '福建省福州市晋安区东二环泰禾广场', 'country': '中国', 'province': '福建省', 'citycode': '0591', 'city': '福州市', 'district': '晋安区', 'township': [], 'neighborhood': {'name': [], 'type': []}, 'building': {'name': [], 'type': []}, 'adcode': '350111', 'street': [], 'number': [], 'location': '119.336798,26.090101', 'level': '兴趣点'}]}\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>formatted_address</th>\n",
       "      <th>country</th>\n",
       "      <th>province</th>\n",
       "      <th>citycode</th>\n",
       "      <th>city</th>\n",
       "      <th>district</th>\n",
       "      <th>township</th>\n",
       "      <th>adcode</th>\n",
       "      <th>street</th>\n",
       "      <th>number</th>\n",
       "      <th>location</th>\n",
       "      <th>level</th>\n",
       "      <th>neighborhood.name</th>\n",
       "      <th>neighborhood.type</th>\n",
       "      <th>building.name</th>\n",
       "      <th>building.type</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>福建省福州市晋安区东二环泰禾广场</td>\n",
       "      <td>中国</td>\n",
       "      <td>福建省</td>\n",
       "      <td>0591</td>\n",
       "      <td>福州市</td>\n",
       "      <td>晋安区</td>\n",
       "      <td>[]</td>\n",
       "      <td>350111</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>119.336798,26.090101</td>\n",
       "      <td>兴趣点</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "  formatted_address country province citycode city district township  adcode  \\\n",
       "0  福建省福州市晋安区东二环泰禾广场      中国      福建省     0591  福州市      晋安区       []  350111   \n",
       "\n",
       "  street number              location level neighborhood.name  \\\n",
       "0     []     []  119.336798,26.090101   兴趣点                []   \n",
       "\n",
       "  neighborhood.type building.name building.type  \n",
       "0                []            []            []  "
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "泰禾地理编码: 119.336798,26.090101\n"
     ]
    }
   ],
   "source": [
    "# A-1 地理编码\n",
    "def geocode(address,city=None,batch=None,sig=None)->dict:\n",
    "    \"\"\"获取地理编码\"\"\"\n",
    "    url = 'https://restapi.amap.com/v3/geocode/geo?parameters'\n",
    "    params={\n",
    "        'key': key_zyi,\n",
    "        'address':address,\n",
    "        'city':city,\n",
    "        'batch':batch,\n",
    "        'sig':sig,\n",
    "        'output':'json'\n",
    "    }\n",
    "    response = requests.get(url,params=params)\n",
    "    data = response.json()\n",
    "    return data\n",
    "泰禾 = geocode(address='福建省福州市东二环泰禾广场')\n",
    "print(泰禾)\n",
    "df_泰禾地理编码 = pd.json_normalize(泰禾['geocodes'])\n",
    "display(df_泰禾地理编码)\n",
    "泰禾地理编码 = 泰禾['geocodes'][0]['location']\n",
    "print(\"泰禾地理编码:\",泰禾地理编码)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### A-2 逆地理编码（基础/全）"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "metadata": {
    "ExecuteTime": {
     "end_time": "2020-04-22T11:17:06.920663Z",
     "start_time": "2020-04-22T11:17:06.658358Z"
    },
    "scrolled": true
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "{'status': '1', 'regeocode': {'addressComponent': {'city': '福州市', 'province': '福建省', 'adcode': '350111', 'district': '晋安区', 'towncode': '350111102000', 'streetNumber': {'number': '22号楼', 'location': '119.336414,26.0899031', 'direction': '西南', 'distance': '44.2383', 'street': '连江北路'}, 'country': '中国', 'township': '岳峰镇', 'businessAreas': [{'location': '119.327784,26.08602', 'name': '岳峰', 'id': '350111'}, {'location': '119.356221,26.070663', 'name': '鼓山', 'id': '350111'}, {'location': '119.338741,26.082575', 'name': '茶会村', 'id': '350111'}], 'building': {'name': [], 'type': []}, 'neighborhood': {'name': [], 'type': []}, 'citycode': '0591'}, 'formatted_address': '福建省福州市晋安区岳峰镇汉拿山(泰禾广场西区)泰禾广场(东二环店)'}, 'info': 'OK', 'infocode': '10000'}\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>0</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>status</th>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>info</th>\n",
       "      <td>OK</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>infocode</th>\n",
       "      <td>10000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.city</th>\n",
       "      <td>福州市</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.province</th>\n",
       "      <td>福建省</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.adcode</th>\n",
       "      <td>350111</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.district</th>\n",
       "      <td>晋安区</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.towncode</th>\n",
       "      <td>350111102000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.streetNumber.number</th>\n",
       "      <td>22号楼</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.streetNumber.location</th>\n",
       "      <td>119.336414,26.0899031</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.streetNumber.direction</th>\n",
       "      <td>西南</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.streetNumber.distance</th>\n",
       "      <td>44.2383</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.streetNumber.street</th>\n",
       "      <td>连江北路</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.country</th>\n",
       "      <td>中国</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.township</th>\n",
       "      <td>岳峰镇</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.businessAreas</th>\n",
       "      <td>[{'location': '119.327784,26.08602', 'name': '...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.building.name</th>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.building.type</th>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.neighborhood.name</th>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.neighborhood.type</th>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.citycode</th>\n",
       "      <td>0591</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.formatted_address</th>\n",
       "      <td>福建省福州市晋安区岳峰镇汉拿山(泰禾广场西区)泰禾广场(东二环店)</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "                                                                                                   0\n",
       "status                                                                                             1\n",
       "info                                                                                              OK\n",
       "infocode                                                                                       10000\n",
       "regeocode.addressComponent.city                                                                  福州市\n",
       "regeocode.addressComponent.province                                                              福建省\n",
       "regeocode.addressComponent.adcode                                                             350111\n",
       "regeocode.addressComponent.district                                                              晋安区\n",
       "regeocode.addressComponent.towncode                                                     350111102000\n",
       "regeocode.addressComponent.streetNumber.number                                                  22号楼\n",
       "regeocode.addressComponent.streetNumber.location                               119.336414,26.0899031\n",
       "regeocode.addressComponent.streetNumber.direction                                                 西南\n",
       "regeocode.addressComponent.streetNumber.distance                                             44.2383\n",
       "regeocode.addressComponent.streetNumber.street                                                  连江北路\n",
       "regeocode.addressComponent.country                                                                中国\n",
       "regeocode.addressComponent.township                                                              岳峰镇\n",
       "regeocode.addressComponent.businessAreas           [{'location': '119.327784,26.08602', 'name': '...\n",
       "regeocode.addressComponent.building.name                                                          []\n",
       "regeocode.addressComponent.building.type                                                          []\n",
       "regeocode.addressComponent.neighborhood.name                                                      []\n",
       "regeocode.addressComponent.neighborhood.type                                                      []\n",
       "regeocode.addressComponent.citycode                                                             0591\n",
       "regeocode.formatted_address                                        福建省福州市晋安区岳峰镇汉拿山(泰禾广场西区)泰禾广场(东二环店)"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "# A-2 基础逆地理编码分析\n",
    "def regeocode(location,poitype=None,radius=None,extensions=\"base\",batch=False,roadlevel=None,sig=None,homeorcorp=None)->dict:\n",
    "    \"\"\"获取逆地理编码\"\"\"\n",
    "    url = 'https://restapi.amap.com/v3/geocode/regeo?parameters'\n",
    "    params={\n",
    "        'key': key_zyi,\n",
    "        'location':location,\n",
    "        'poitype':poitype,\n",
    "        'radius':radius,\n",
    "        'extensions':extensions,\n",
    "        'batch':batch,\n",
    "        'roadlevel':roadlevel,\n",
    "        'homeorcorp':homeorcorp,\n",
    "        'sig':sig,\n",
    "        'output':'json'\n",
    "    }\n",
    "    response = requests.get(url,params=params)\n",
    "    data = response.json()\n",
    "    return data\n",
    "\n",
    "泰禾逆地理编码 = regeocode(泰禾地理编码)\n",
    "print(泰禾逆地理编码)\n",
    "df_泰禾逆地理编码 = pd.json_normalize(泰禾逆地理编码).T\n",
    "display(df_泰禾逆地理编码)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "metadata": {
    "ExecuteTime": {
     "end_time": "2020-04-22T11:17:07.202289Z",
     "start_time": "2020-04-22T11:17:06.921661Z"
    }
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "{'status': '1', 'regeocode': {'roads': [{'id': '0591G50F023043604849', 'location': '119.338,26.0898', 'direction': '西', 'name': '竹屿路', 'distance': '99.4605'}, {'id': '0591G50F0230431211', 'location': '119.337,26.0891', 'direction': '北', 'name': '化工路', 'distance': '118.864'}, {'id': '0591G50F023043336', 'location': '119.338,26.089', 'direction': '西北', 'name': '茶会路', 'distance': '155.829'}], 'roadinters': [{'second_name': '竹屿路', 'first_id': '0591G50F0230431211', 'second_id': '0591G50F023043604849', 'location': '119.3377947,26.08910972', 'distance': '148.529', 'first_name': '化工路', 'direction': '西北'}], 'formatted_address': '福建省福州市晋安区岳峰镇汉拿山(泰禾广场西区)泰禾广场(东二环店)', 'addressComponent': {'city': '福州市', 'province': '福建省', 'adcode': '350111', 'district': '晋安区', 'towncode': '350111102000', 'streetNumber': {'number': '22号楼', 'location': '119.336414,26.0899031', 'direction': '西南', 'distance': '44.2383', 'street': '连江北路'}, 'country': '中国', 'township': '岳峰镇', 'businessAreas': [{'location': '119.327784,26.08602', 'name': '岳峰', 'id': '350111'}, {'location': '119.356221,26.070663', 'name': '鼓山', 'id': '350111'}, {'location': '119.338741,26.082575', 'name': '茶会村', 'id': '350111'}], 'building': {'name': [], 'type': []}, 'neighborhood': {'name': [], 'type': []}, 'citycode': '0591'}, 'aois': [{'area': '201385.057840', 'type': '060101', 'id': 'B0FFF01ETV', 'location': '119.336008,26.091043', 'adcode': '350111', 'name': '泰禾广场(东二环店)', 'distance': '0'}], 'pois': [{'id': 'B0FFF01ETV', 'direction': '西北', 'businessarea': '岳峰', 'address': '岳峰镇竹屿路6号', 'poiweight': '0.519804', 'name': '泰禾广场(东二环店)', 'location': '119.336008,26.091043', 'distance': '131.133', 'tel': '0591-63169999', 'type': '购物服务;商场;购物中心'}, {'id': 'B0FFJBAYZM', 'direction': '西北', 'businessarea': '岳峰', 'address': '竹屿路6号泰禾广场西区L5层', 'poiweight': '0.205674', 'name': '汉拿山(泰禾广场西区)', 'location': '119.336597,26.090416', 'distance': '40.3777', 'tel': '0591-63168689', 'type': '餐饮服务;外国餐厅;韩国料理'}, {'id': 'B0FFKU0O6Y', 'direction': '北', 'businessarea': '岳峰', 'address': '竹屿路6号泰禾广场西区L6层', 'poiweight': '0.194988', 'name': '越城记(泰禾广场西区)', 'location': '119.336715,26.090849', 'distance': '83.5656', 'tel': '0591-83215757', 'type': '餐饮服务;中餐厅;中餐厅'}, {'id': 'B0FFKU0O6F', 'direction': '西', 'businessarea': '岳峰', 'address': '连江路与化工路交汇处东二环泰禾广场22号楼5层L523', 'poiweight': '0.194988', 'name': '那一家(泰禾广场西区)', 'location': '119.335654,26.089788', 'distance': '119.452', 'tel': '0591-87326617;13559149397;18559856251', 'type': '餐饮服务;中餐厅;中餐厅'}, {'id': 'B0FFGG0O6M', 'direction': '西北', 'businessarea': '岳峰', 'address': '竹屿路6号泰禾广场西区B1层', 'poiweight': '0.303971', 'name': '香港满记甜品(泰禾广场西区)', 'location': '119.336192,26.090831', 'distance': '101.26', 'tel': '0591-87301520;0591-87322265', 'type': '餐饮服务;甜品店;甜品店'}, {'id': 'B0FFKU0OBB', 'direction': '西北', 'businessarea': '岳峰', 'address': '竹屿路6号', 'poiweight': '0.3037', 'name': '泰禾广场西区', 'location': '119.336436,26.090321', 'distance': '43.6474', 'tel': [], 'type': '购物服务;商场;购物中心'}, {'id': 'B0FFG9AN5L', 'direction': '西北', 'businessarea': '岳峰', 'address': '岳峰镇竹屿路6号东二环泰禾城市广场', 'poiweight': '0.205175', 'name': '水秀广场', 'location': '119.334045,26.091683', 'distance': '326.403', 'tel': [], 'type': '风景名胜;风景名胜;风景名胜'}, {'id': 'B0FFF3X852', 'direction': '东南', 'businessarea': '岳峰', 'address': '喜盈门路1号', 'poiweight': '0.170025', 'name': '福建鑫天地家具城', 'location': '119.337508,26.088505', 'distance': '191.127', 'tel': '0591-28066385', 'type': '购物服务;家居建材市场;家具城'}, {'id': 'B0FFKU0NW7', 'direction': '东', 'businessarea': '岳峰', 'address': '竹屿路6号泰禾广场东区B1层', 'poiweight': '0.171953', 'name': '英孚教育青少儿英语(泰禾广场东区)', 'location': '119.338181,26.089937', 'distance': '139.326', 'tel': [], 'type': '科教文化服务;培训机构;培训机构'}, {'id': 'B0FFIII8JK', 'direction': '东', 'businessarea': '岳峰', 'address': '东二环泰禾广场东区Mall', 'poiweight': '0.354709', 'name': '太空向往主题公园(东二环泰禾广场东区Mall)', 'location': '119.338452,26.090096', 'distance': '165.173', 'tel': [], 'type': '风景名胜;公园广场;公园'}, {'id': 'B0FFFA9YP7', 'direction': '西', 'businessarea': '岳峰', 'address': '晋安区', 'poiweight': '0.284073', 'name': '岳峰高架桥', 'location': '119.333046,26.090702', 'distance': '380.612', 'tel': [], 'type': '地名地址信息;交通地名;立交桥'}, {'id': 'B0FFJQQCHP', 'direction': '北', 'businessarea': '岳峰', 'address': '横屿路东二环泰禾11号公馆2层', 'poiweight': '0.180294', 'name': '新爱婴国际早教(东泰禾中心)', 'location': '119.337145,26.091853', 'distance': '197.873', 'tel': '0591-87312622', 'type': '科教文化服务;科教文化场所;科教文化场所'}, {'id': 'B0FFHO85MA', 'direction': '南', 'businessarea': '岳峰', 'address': '连江北路293号', 'poiweight': '0.166497', 'name': '喜盈门(福州)建材家具广场', 'location': '119.336276,26.086804', 'distance': '370.338', 'tel': '0591-88050511;0591-88055300', 'type': '购物服务;家居建材市场;家具建材综合市场'}, {'id': 'B0FFGJ67L3', 'direction': '东南', 'businessarea': '岳峰', 'address': '连江北路293-2新南方大厦510', 'poiweight': '0.134118', 'name': '福州捷诚房屋征收工程处', 'location': '119.338620,26.087260', 'distance': '364.584', 'tel': [], 'type': '政府机构及社会团体;政府机关;区县级政府及事业单位'}, {'id': 'B024F05XAS', 'direction': '东南', 'businessarea': '岳峰', 'address': '连江北路293-2号', 'poiweight': '0.390248', 'name': '福州新南方家居建材旗舰中心', 'location': '119.338583,26.087129', 'distance': '375.523', 'tel': [], 'type': '购物服务;家居建材市场;家具建材综合市场'}, {'id': 'B0FFHZUIKZ', 'direction': '西北', 'businessarea': '岳峰', 'address': '岳峰镇竹屿路6号泰禾城市广场商业中心17号楼2层', 'poiweight': '0.162355', 'name': '英孚教育青少儿英语(东二环泰禾中心)', 'location': '119.335070,26.091403', 'distance': '225.263', 'tel': '4001079100', 'type': '科教文化服务;培训机构;培训机构'}, {'id': 'B0FFGG0IX2', 'direction': '西南', 'businessarea': '岳峰', 'address': '东二环泰禾广场22号楼B102-3', 'poiweight': '0.435039', 'name': '宝岛眼镜(福州东二环泰禾广场店)', 'location': '119.336394,26.089932', 'distance': '44.532', 'tel': '0591-87315753', 'type': '购物服务;专卖店;眼镜店'}, {'id': 'B0FFGMS9C5', 'direction': '西南', 'businessarea': '岳峰', 'address': '化工路与竹屿路交叉口竹泰禾广场B1层', 'poiweight': '0.456295', 'name': '鲑鱼工坊(东二环泰禾店)', 'location': '119.336410,26.089901', 'distance': '44.6828', 'tel': '18065078071', 'type': '餐饮服务;中餐厅;中餐厅'}, {'id': 'B024F000CD', 'direction': '西南', 'businessarea': '岳峰', 'address': '连江北路253号', 'poiweight': '0.240627', 'name': '福州佳通第一塑料有限公司', 'location': '119.335322,26.087996', 'distance': '276.63', 'tel': [], 'type': '公司企业;公司;公司'}, {'id': 'B0FFHMX11D', 'direction': '东', 'businessarea': '岳峰', 'address': '化工路', 'poiweight': '0.287082', 'name': '泰禾城市广场东区儿童MALL', 'location': '119.339291,26.090150', 'distance': '249.039', 'tel': '0591-63160999', 'type': '商务住宅;住宅区;住宅小区'}, {'id': 'B0FFGJ6DNT', 'direction': '东南', 'businessarea': '岳峰', 'address': '化工路38号', 'poiweight': '0.160973', 'name': '林珍装饰材料有限公司', 'location': '119.338523,26.088908', 'distance': '217.438', 'tel': '0591-83613223;18950396001', 'type': '公司企业;公司;公司'}, {'id': 'B0FFKU0OAV', 'direction': '东', 'businessarea': '岳峰', 'address': '竹屿路6号', 'poiweight': '0.3037', 'name': '泰禾广场东区', 'location': '119.339455,26.090056', 'distance': '265.394', 'tel': [], 'type': '购物服务;商场;购物中心'}, {'id': 'B0FFIAVDVB', 'direction': '西', 'businessarea': '岳峰', 'address': '东二环泰禾广场21号楼121(商场2号门音乐喷泉旁)', 'poiweight': '0.546774', 'name': '胡桃里音乐酒馆(东二环泰禾店)', 'location': '119.335132,26.090769', 'distance': '182.21', 'tel': '0591-88033929', 'type': '餐饮服务;中餐厅;中餐厅'}, {'id': 'B0FFGG7M4L', 'direction': '东南', 'businessarea': '岳峰', 'address': '化工路38号元福建材街A6号', 'poiweight': '0.159434', 'name': '佰家汇地板', 'location': '119.339332,26.088229', 'distance': '327.693', 'tel': '13799408900;13459403618', 'type': '购物服务;家居建材市场;家居建材市场'}, {'id': 'B0FFHHVP0V', 'direction': '西北', 'businessarea': '岳峰', 'address': '东二环泰禾广场6号楼1-2层', 'poiweight': '0.308699', 'name': '中国工商银行(福州城东支行)', 'location': '119.335664,26.092649', 'distance': '305.116', 'tel': '0591-87326989', 'type': '金融保险服务;银行;中国工商银行'}, {'id': 'B024F04OJH', 'direction': '东', 'businessarea': '岳峰', 'address': '晋安区', 'poiweight': '0.392054', 'name': '竹屿村', 'location': '119.339939,26.091106', 'distance': '332.985', 'tel': [], 'type': '地名地址信息;普通地名;村庄级地名'}, {'id': 'B0FFHLLQMG', 'direction': '西北', 'businessarea': '岳峰', 'address': [], 'poiweight': '0.115628', 'name': '东二环泰禾广场西区一期SOHO6号楼', 'location': '119.335468,26.092584', 'distance': '306.374', 'tel': [], 'type': '商务住宅;楼宇;商住两用楼宇'}, {'id': 'B0FFH4X6HI', 'direction': '南', 'businessarea': '岳峰', 'address': '连江北路喜盈门家居广场5号', 'poiweight': '0.168303', 'name': '敏亮家居生活馆', 'location': '119.337437,26.087349', 'distance': '312.628', 'tel': [], 'type': '购物服务;家居建材市场;家具城'}, {'id': 'B0FFLCVA9L', 'direction': '东', 'businessarea': '岳峰', 'address': [], 'poiweight': '0.170963', 'name': 'SOHOB2', 'location': '119.339922,26.090487', 'distance': '314.916', 'tel': [], 'type': '商务住宅;楼宇;商务写字楼'}, {'id': 'B0FFHF0HDG', 'direction': '西北', 'businessarea': '岳峰', 'address': '岳峰镇连江北路与化工路交叉处东二环泰禾广场(一期)6号楼1层02商业、2层02商业服务用房', 'poiweight': '0.413476', 'name': '中国建设银行(东二环支行)', 'location': '119.335429,26.092663', 'distance': '316.003', 'tel': '0591-83011786', 'type': '金融保险服务;银行;中国建设银行'}]}, 'info': 'OK', 'infocode': '10000'}\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>0</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>status</th>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>info</th>\n",
       "      <td>OK</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>infocode</th>\n",
       "      <td>10000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.roads</th>\n",
       "      <td>[{'id': '0591G50F023043604849', 'location': '1...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.roadinters</th>\n",
       "      <td>[{'second_name': '竹屿路', 'first_id': '0591G50F0...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.formatted_address</th>\n",
       "      <td>福建省福州市晋安区岳峰镇汉拿山(泰禾广场西区)泰禾广场(东二环店)</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.city</th>\n",
       "      <td>福州市</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.province</th>\n",
       "      <td>福建省</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.adcode</th>\n",
       "      <td>350111</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.district</th>\n",
       "      <td>晋安区</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.towncode</th>\n",
       "      <td>350111102000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.streetNumber.number</th>\n",
       "      <td>22号楼</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.streetNumber.location</th>\n",
       "      <td>119.336414,26.0899031</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.streetNumber.direction</th>\n",
       "      <td>西南</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.streetNumber.distance</th>\n",
       "      <td>44.2383</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.streetNumber.street</th>\n",
       "      <td>连江北路</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.country</th>\n",
       "      <td>中国</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.township</th>\n",
       "      <td>岳峰镇</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.businessAreas</th>\n",
       "      <td>[{'location': '119.327784,26.08602', 'name': '...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.building.name</th>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.building.type</th>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.neighborhood.name</th>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.neighborhood.type</th>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.citycode</th>\n",
       "      <td>0591</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.aois</th>\n",
       "      <td>[{'area': '201385.057840', 'type': '060101', '...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.pois</th>\n",
       "      <td>[{'id': 'B0FFF01ETV', 'direction': '西北', 'busi...</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "                                                                                                   0\n",
       "status                                                                                             1\n",
       "info                                                                                              OK\n",
       "infocode                                                                                       10000\n",
       "regeocode.roads                                    [{'id': '0591G50F023043604849', 'location': '1...\n",
       "regeocode.roadinters                               [{'second_name': '竹屿路', 'first_id': '0591G50F0...\n",
       "regeocode.formatted_address                                        福建省福州市晋安区岳峰镇汉拿山(泰禾广场西区)泰禾广场(东二环店)\n",
       "regeocode.addressComponent.city                                                                  福州市\n",
       "regeocode.addressComponent.province                                                              福建省\n",
       "regeocode.addressComponent.adcode                                                             350111\n",
       "regeocode.addressComponent.district                                                              晋安区\n",
       "regeocode.addressComponent.towncode                                                     350111102000\n",
       "regeocode.addressComponent.streetNumber.number                                                  22号楼\n",
       "regeocode.addressComponent.streetNumber.location                               119.336414,26.0899031\n",
       "regeocode.addressComponent.streetNumber.direction                                                 西南\n",
       "regeocode.addressComponent.streetNumber.distance                                             44.2383\n",
       "regeocode.addressComponent.streetNumber.street                                                  连江北路\n",
       "regeocode.addressComponent.country                                                                中国\n",
       "regeocode.addressComponent.township                                                              岳峰镇\n",
       "regeocode.addressComponent.businessAreas           [{'location': '119.327784,26.08602', 'name': '...\n",
       "regeocode.addressComponent.building.name                                                          []\n",
       "regeocode.addressComponent.building.type                                                          []\n",
       "regeocode.addressComponent.neighborhood.name                                                      []\n",
       "regeocode.addressComponent.neighborhood.type                                                      []\n",
       "regeocode.addressComponent.citycode                                                             0591\n",
       "regeocode.aois                                     [{'area': '201385.057840', 'type': '060101', '...\n",
       "regeocode.pois                                     [{'id': 'B0FFF01ETV', 'direction': '西北', 'busi..."
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "# A-2 Extra 全部逆地理编码分析\n",
    "泰禾逆地理编码_all = regeocode(泰禾地理编码,extensions=\"all\")\n",
    "print(泰禾逆地理编码_all)\n",
    "df_泰禾逆地理编码_all = pd.json_normalize(泰禾逆地理编码_all).T\n",
    "display(df_泰禾逆地理编码_all)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### A-3 全部逆地理编码分析细节\n",
    "\n",
    "1. 大家先思考一个问题，你给高德的地址和他给你的，是不是它大气的多？\n",
    "2. 这些细节哪些是有用的？假设用户给你一个地址，和一定的诉求，我们是不是可以推荐一些POI地址？\n",
    "\n",
    "![](http://static.leiphone.com/uploads/new/article/740_740/201612/5860bb12da0e0.png?imageMogr2/format/jpg/quality/90)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "metadata": {
    "ExecuteTime": {
     "end_time": "2020-04-22T11:17:07.243180Z",
     "start_time": "2020-04-22T11:17:07.203288Z"
    }
   },
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>id</th>\n",
       "      <th>location</th>\n",
       "      <th>direction</th>\n",
       "      <th>name</th>\n",
       "      <th>distance</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>0591G50F023043604849</td>\n",
       "      <td>119.338,26.0898</td>\n",
       "      <td>西</td>\n",
       "      <td>竹屿路</td>\n",
       "      <td>99.4605</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>0591G50F0230431211</td>\n",
       "      <td>119.337,26.0891</td>\n",
       "      <td>北</td>\n",
       "      <td>化工路</td>\n",
       "      <td>118.864</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>0591G50F023043336</td>\n",
       "      <td>119.338,26.089</td>\n",
       "      <td>西北</td>\n",
       "      <td>茶会路</td>\n",
       "      <td>155.829</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "                     id         location direction name distance\n",
       "0  0591G50F023043604849  119.338,26.0898         西  竹屿路  99.4605\n",
       "1    0591G50F0230431211  119.337,26.0891         北  化工路  118.864\n",
       "2     0591G50F023043336   119.338,26.089        西北  茶会路  155.829"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>second_name</th>\n",
       "      <th>first_id</th>\n",
       "      <th>second_id</th>\n",
       "      <th>location</th>\n",
       "      <th>distance</th>\n",
       "      <th>first_name</th>\n",
       "      <th>direction</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>竹屿路</td>\n",
       "      <td>0591G50F0230431211</td>\n",
       "      <td>0591G50F023043604849</td>\n",
       "      <td>119.3377947,26.08910972</td>\n",
       "      <td>148.529</td>\n",
       "      <td>化工路</td>\n",
       "      <td>西北</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "  second_name            first_id             second_id  \\\n",
       "0         竹屿路  0591G50F0230431211  0591G50F023043604849   \n",
       "\n",
       "                  location distance first_name direction  \n",
       "0  119.3377947,26.08910972  148.529        化工路        西北  "
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>area</th>\n",
       "      <th>type</th>\n",
       "      <th>id</th>\n",
       "      <th>location</th>\n",
       "      <th>adcode</th>\n",
       "      <th>name</th>\n",
       "      <th>distance</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>201385.057840</td>\n",
       "      <td>060101</td>\n",
       "      <td>B0FFF01ETV</td>\n",
       "      <td>119.336008,26.091043</td>\n",
       "      <td>350111</td>\n",
       "      <td>泰禾广场(东二环店)</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "            area    type          id              location  adcode  \\\n",
       "0  201385.057840  060101  B0FFF01ETV  119.336008,26.091043  350111   \n",
       "\n",
       "         name distance  \n",
       "0  泰禾广场(东二环店)        0  "
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>id</th>\n",
       "      <th>direction</th>\n",
       "      <th>businessarea</th>\n",
       "      <th>address</th>\n",
       "      <th>poiweight</th>\n",
       "      <th>name</th>\n",
       "      <th>location</th>\n",
       "      <th>distance</th>\n",
       "      <th>tel</th>\n",
       "      <th>type</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>B0FFF01ETV</td>\n",
       "      <td>西北</td>\n",
       "      <td>岳峰</td>\n",
       "      <td>岳峰镇竹屿路6号</td>\n",
       "      <td>0.519804</td>\n",
       "      <td>泰禾广场(东二环店)</td>\n",
       "      <td>119.336008,26.091043</td>\n",
       "      <td>131.133</td>\n",
       "      <td>0591-63169999</td>\n",
       "      <td>购物服务;商场;购物中心</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>B0FFJBAYZM</td>\n",
       "      <td>西北</td>\n",
       "      <td>岳峰</td>\n",
       "      <td>竹屿路6号泰禾广场西区L5层</td>\n",
       "      <td>0.205674</td>\n",
       "      <td>汉拿山(泰禾广场西区)</td>\n",
       "      <td>119.336597,26.090416</td>\n",
       "      <td>40.3777</td>\n",
       "      <td>0591-63168689</td>\n",
       "      <td>餐饮服务;外国餐厅;韩国料理</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>B0FFKU0O6Y</td>\n",
       "      <td>北</td>\n",
       "      <td>岳峰</td>\n",
       "      <td>竹屿路6号泰禾广场西区L6层</td>\n",
       "      <td>0.194988</td>\n",
       "      <td>越城记(泰禾广场西区)</td>\n",
       "      <td>119.336715,26.090849</td>\n",
       "      <td>83.5656</td>\n",
       "      <td>0591-83215757</td>\n",
       "      <td>餐饮服务;中餐厅;中餐厅</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>B0FFKU0O6F</td>\n",
       "      <td>西</td>\n",
       "      <td>岳峰</td>\n",
       "      <td>连江路与化工路交汇处东二环泰禾广场22号楼5层L523</td>\n",
       "      <td>0.194988</td>\n",
       "      <td>那一家(泰禾广场西区)</td>\n",
       "      <td>119.335654,26.089788</td>\n",
       "      <td>119.452</td>\n",
       "      <td>0591-87326617;13559149397;18559856251</td>\n",
       "      <td>餐饮服务;中餐厅;中餐厅</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>B0FFGG0O6M</td>\n",
       "      <td>西北</td>\n",
       "      <td>岳峰</td>\n",
       "      <td>竹屿路6号泰禾广场西区B1层</td>\n",
       "      <td>0.303971</td>\n",
       "      <td>香港满记甜品(泰禾广场西区)</td>\n",
       "      <td>119.336192,26.090831</td>\n",
       "      <td>101.26</td>\n",
       "      <td>0591-87301520;0591-87322265</td>\n",
       "      <td>餐饮服务;甜品店;甜品店</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>B0FFKU0OBB</td>\n",
       "      <td>西北</td>\n",
       "      <td>岳峰</td>\n",
       "      <td>竹屿路6号</td>\n",
       "      <td>0.3037</td>\n",
       "      <td>泰禾广场西区</td>\n",
       "      <td>119.336436,26.090321</td>\n",
       "      <td>43.6474</td>\n",
       "      <td>[]</td>\n",
       "      <td>购物服务;商场;购物中心</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>B0FFG9AN5L</td>\n",
       "      <td>西北</td>\n",
       "      <td>岳峰</td>\n",
       "      <td>岳峰镇竹屿路6号东二环泰禾城市广场</td>\n",
       "      <td>0.205175</td>\n",
       "      <td>水秀广场</td>\n",
       "      <td>119.334045,26.091683</td>\n",
       "      <td>326.403</td>\n",
       "      <td>[]</td>\n",
       "      <td>风景名胜;风景名胜;风景名胜</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>B0FFF3X852</td>\n",
       "      <td>东南</td>\n",
       "      <td>岳峰</td>\n",
       "      <td>喜盈门路1号</td>\n",
       "      <td>0.170025</td>\n",
       "      <td>福建鑫天地家具城</td>\n",
       "      <td>119.337508,26.088505</td>\n",
       "      <td>191.127</td>\n",
       "      <td>0591-28066385</td>\n",
       "      <td>购物服务;家居建材市场;家具城</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>B0FFKU0NW7</td>\n",
       "      <td>东</td>\n",
       "      <td>岳峰</td>\n",
       "      <td>竹屿路6号泰禾广场东区B1层</td>\n",
       "      <td>0.171953</td>\n",
       "      <td>英孚教育青少儿英语(泰禾广场东区)</td>\n",
       "      <td>119.338181,26.089937</td>\n",
       "      <td>139.326</td>\n",
       "      <td>[]</td>\n",
       "      <td>科教文化服务;培训机构;培训机构</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>B0FFIII8JK</td>\n",
       "      <td>东</td>\n",
       "      <td>岳峰</td>\n",
       "      <td>东二环泰禾广场东区Mall</td>\n",
       "      <td>0.354709</td>\n",
       "      <td>太空向往主题公园(东二环泰禾广场东区Mall)</td>\n",
       "      <td>119.338452,26.090096</td>\n",
       "      <td>165.173</td>\n",
       "      <td>[]</td>\n",
       "      <td>风景名胜;公园广场;公园</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>B0FFFA9YP7</td>\n",
       "      <td>西</td>\n",
       "      <td>岳峰</td>\n",
       "      <td>晋安区</td>\n",
       "      <td>0.284073</td>\n",
       "      <td>岳峰高架桥</td>\n",
       "      <td>119.333046,26.090702</td>\n",
       "      <td>380.612</td>\n",
       "      <td>[]</td>\n",
       "      <td>地名地址信息;交通地名;立交桥</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>B0FFJQQCHP</td>\n",
       "      <td>北</td>\n",
       "      <td>岳峰</td>\n",
       "      <td>横屿路东二环泰禾11号公馆2层</td>\n",
       "      <td>0.180294</td>\n",
       "      <td>新爱婴国际早教(东泰禾中心)</td>\n",
       "      <td>119.337145,26.091853</td>\n",
       "      <td>197.873</td>\n",
       "      <td>0591-87312622</td>\n",
       "      <td>科教文化服务;科教文化场所;科教文化场所</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>B0FFHO85MA</td>\n",
       "      <td>南</td>\n",
       "      <td>岳峰</td>\n",
       "      <td>连江北路293号</td>\n",
       "      <td>0.166497</td>\n",
       "      <td>喜盈门(福州)建材家具广场</td>\n",
       "      <td>119.336276,26.086804</td>\n",
       "      <td>370.338</td>\n",
       "      <td>0591-88050511;0591-88055300</td>\n",
       "      <td>购物服务;家居建材市场;家具建材综合市场</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>B0FFGJ67L3</td>\n",
       "      <td>东南</td>\n",
       "      <td>岳峰</td>\n",
       "      <td>连江北路293-2新南方大厦510</td>\n",
       "      <td>0.134118</td>\n",
       "      <td>福州捷诚房屋征收工程处</td>\n",
       "      <td>119.338620,26.087260</td>\n",
       "      <td>364.584</td>\n",
       "      <td>[]</td>\n",
       "      <td>政府机构及社会团体;政府机关;区县级政府及事业单位</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>B024F05XAS</td>\n",
       "      <td>东南</td>\n",
       "      <td>岳峰</td>\n",
       "      <td>连江北路293-2号</td>\n",
       "      <td>0.390248</td>\n",
       "      <td>福州新南方家居建材旗舰中心</td>\n",
       "      <td>119.338583,26.087129</td>\n",
       "      <td>375.523</td>\n",
       "      <td>[]</td>\n",
       "      <td>购物服务;家居建材市场;家具建材综合市场</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>B0FFHZUIKZ</td>\n",
       "      <td>西北</td>\n",
       "      <td>岳峰</td>\n",
       "      <td>岳峰镇竹屿路6号泰禾城市广场商业中心17号楼2层</td>\n",
       "      <td>0.162355</td>\n",
       "      <td>英孚教育青少儿英语(东二环泰禾中心)</td>\n",
       "      <td>119.335070,26.091403</td>\n",
       "      <td>225.263</td>\n",
       "      <td>4001079100</td>\n",
       "      <td>科教文化服务;培训机构;培训机构</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>B0FFGG0IX2</td>\n",
       "      <td>西南</td>\n",
       "      <td>岳峰</td>\n",
       "      <td>东二环泰禾广场22号楼B102-3</td>\n",
       "      <td>0.435039</td>\n",
       "      <td>宝岛眼镜(福州东二环泰禾广场店)</td>\n",
       "      <td>119.336394,26.089932</td>\n",
       "      <td>44.532</td>\n",
       "      <td>0591-87315753</td>\n",
       "      <td>购物服务;专卖店;眼镜店</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>B0FFGMS9C5</td>\n",
       "      <td>西南</td>\n",
       "      <td>岳峰</td>\n",
       "      <td>化工路与竹屿路交叉口竹泰禾广场B1层</td>\n",
       "      <td>0.456295</td>\n",
       "      <td>鲑鱼工坊(东二环泰禾店)</td>\n",
       "      <td>119.336410,26.089901</td>\n",
       "      <td>44.6828</td>\n",
       "      <td>18065078071</td>\n",
       "      <td>餐饮服务;中餐厅;中餐厅</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>B024F000CD</td>\n",
       "      <td>西南</td>\n",
       "      <td>岳峰</td>\n",
       "      <td>连江北路253号</td>\n",
       "      <td>0.240627</td>\n",
       "      <td>福州佳通第一塑料有限公司</td>\n",
       "      <td>119.335322,26.087996</td>\n",
       "      <td>276.63</td>\n",
       "      <td>[]</td>\n",
       "      <td>公司企业;公司;公司</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>B0FFHMX11D</td>\n",
       "      <td>东</td>\n",
       "      <td>岳峰</td>\n",
       "      <td>化工路</td>\n",
       "      <td>0.287082</td>\n",
       "      <td>泰禾城市广场东区儿童MALL</td>\n",
       "      <td>119.339291,26.090150</td>\n",
       "      <td>249.039</td>\n",
       "      <td>0591-63160999</td>\n",
       "      <td>商务住宅;住宅区;住宅小区</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>20</th>\n",
       "      <td>B0FFGJ6DNT</td>\n",
       "      <td>东南</td>\n",
       "      <td>岳峰</td>\n",
       "      <td>化工路38号</td>\n",
       "      <td>0.160973</td>\n",
       "      <td>林珍装饰材料有限公司</td>\n",
       "      <td>119.338523,26.088908</td>\n",
       "      <td>217.438</td>\n",
       "      <td>0591-83613223;18950396001</td>\n",
       "      <td>公司企业;公司;公司</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>21</th>\n",
       "      <td>B0FFKU0OAV</td>\n",
       "      <td>东</td>\n",
       "      <td>岳峰</td>\n",
       "      <td>竹屿路6号</td>\n",
       "      <td>0.3037</td>\n",
       "      <td>泰禾广场东区</td>\n",
       "      <td>119.339455,26.090056</td>\n",
       "      <td>265.394</td>\n",
       "      <td>[]</td>\n",
       "      <td>购物服务;商场;购物中心</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>22</th>\n",
       "      <td>B0FFIAVDVB</td>\n",
       "      <td>西</td>\n",
       "      <td>岳峰</td>\n",
       "      <td>东二环泰禾广场21号楼121(商场2号门音乐喷泉旁)</td>\n",
       "      <td>0.546774</td>\n",
       "      <td>胡桃里音乐酒馆(东二环泰禾店)</td>\n",
       "      <td>119.335132,26.090769</td>\n",
       "      <td>182.21</td>\n",
       "      <td>0591-88033929</td>\n",
       "      <td>餐饮服务;中餐厅;中餐厅</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>23</th>\n",
       "      <td>B0FFGG7M4L</td>\n",
       "      <td>东南</td>\n",
       "      <td>岳峰</td>\n",
       "      <td>化工路38号元福建材街A6号</td>\n",
       "      <td>0.159434</td>\n",
       "      <td>佰家汇地板</td>\n",
       "      <td>119.339332,26.088229</td>\n",
       "      <td>327.693</td>\n",
       "      <td>13799408900;13459403618</td>\n",
       "      <td>购物服务;家居建材市场;家居建材市场</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>24</th>\n",
       "      <td>B0FFHHVP0V</td>\n",
       "      <td>西北</td>\n",
       "      <td>岳峰</td>\n",
       "      <td>东二环泰禾广场6号楼1-2层</td>\n",
       "      <td>0.308699</td>\n",
       "      <td>中国工商银行(福州城东支行)</td>\n",
       "      <td>119.335664,26.092649</td>\n",
       "      <td>305.116</td>\n",
       "      <td>0591-87326989</td>\n",
       "      <td>金融保险服务;银行;中国工商银行</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>25</th>\n",
       "      <td>B024F04OJH</td>\n",
       "      <td>东</td>\n",
       "      <td>岳峰</td>\n",
       "      <td>晋安区</td>\n",
       "      <td>0.392054</td>\n",
       "      <td>竹屿村</td>\n",
       "      <td>119.339939,26.091106</td>\n",
       "      <td>332.985</td>\n",
       "      <td>[]</td>\n",
       "      <td>地名地址信息;普通地名;村庄级地名</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>26</th>\n",
       "      <td>B0FFHLLQMG</td>\n",
       "      <td>西北</td>\n",
       "      <td>岳峰</td>\n",
       "      <td>[]</td>\n",
       "      <td>0.115628</td>\n",
       "      <td>东二环泰禾广场西区一期SOHO6号楼</td>\n",
       "      <td>119.335468,26.092584</td>\n",
       "      <td>306.374</td>\n",
       "      <td>[]</td>\n",
       "      <td>商务住宅;楼宇;商住两用楼宇</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>27</th>\n",
       "      <td>B0FFH4X6HI</td>\n",
       "      <td>南</td>\n",
       "      <td>岳峰</td>\n",
       "      <td>连江北路喜盈门家居广场5号</td>\n",
       "      <td>0.168303</td>\n",
       "      <td>敏亮家居生活馆</td>\n",
       "      <td>119.337437,26.087349</td>\n",
       "      <td>312.628</td>\n",
       "      <td>[]</td>\n",
       "      <td>购物服务;家居建材市场;家具城</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>28</th>\n",
       "      <td>B0FFLCVA9L</td>\n",
       "      <td>东</td>\n",
       "      <td>岳峰</td>\n",
       "      <td>[]</td>\n",
       "      <td>0.170963</td>\n",
       "      <td>SOHOB2</td>\n",
       "      <td>119.339922,26.090487</td>\n",
       "      <td>314.916</td>\n",
       "      <td>[]</td>\n",
       "      <td>商务住宅;楼宇;商务写字楼</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>29</th>\n",
       "      <td>B0FFHF0HDG</td>\n",
       "      <td>西北</td>\n",
       "      <td>岳峰</td>\n",
       "      <td>岳峰镇连江北路与化工路交叉处东二环泰禾广场(一期)6号楼1层02商业、2层02商业服务用房</td>\n",
       "      <td>0.413476</td>\n",
       "      <td>中国建设银行(东二环支行)</td>\n",
       "      <td>119.335429,26.092663</td>\n",
       "      <td>316.003</td>\n",
       "      <td>0591-83011786</td>\n",
       "      <td>金融保险服务;银行;中国建设银行</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "            id direction businessarea  \\\n",
       "0   B0FFF01ETV        西北           岳峰   \n",
       "1   B0FFJBAYZM        西北           岳峰   \n",
       "2   B0FFKU0O6Y         北           岳峰   \n",
       "3   B0FFKU0O6F         西           岳峰   \n",
       "4   B0FFGG0O6M        西北           岳峰   \n",
       "5   B0FFKU0OBB        西北           岳峰   \n",
       "6   B0FFG9AN5L        西北           岳峰   \n",
       "7   B0FFF3X852        东南           岳峰   \n",
       "8   B0FFKU0NW7         东           岳峰   \n",
       "9   B0FFIII8JK         东           岳峰   \n",
       "10  B0FFFA9YP7         西           岳峰   \n",
       "11  B0FFJQQCHP         北           岳峰   \n",
       "12  B0FFHO85MA         南           岳峰   \n",
       "13  B0FFGJ67L3        东南           岳峰   \n",
       "14  B024F05XAS        东南           岳峰   \n",
       "15  B0FFHZUIKZ        西北           岳峰   \n",
       "16  B0FFGG0IX2        西南           岳峰   \n",
       "17  B0FFGMS9C5        西南           岳峰   \n",
       "18  B024F000CD        西南           岳峰   \n",
       "19  B0FFHMX11D         东           岳峰   \n",
       "20  B0FFGJ6DNT        东南           岳峰   \n",
       "21  B0FFKU0OAV         东           岳峰   \n",
       "22  B0FFIAVDVB         西           岳峰   \n",
       "23  B0FFGG7M4L        东南           岳峰   \n",
       "24  B0FFHHVP0V        西北           岳峰   \n",
       "25  B024F04OJH         东           岳峰   \n",
       "26  B0FFHLLQMG        西北           岳峰   \n",
       "27  B0FFH4X6HI         南           岳峰   \n",
       "28  B0FFLCVA9L         东           岳峰   \n",
       "29  B0FFHF0HDG        西北           岳峰   \n",
       "\n",
       "                                          address poiweight  \\\n",
       "0                                        岳峰镇竹屿路6号  0.519804   \n",
       "1                                  竹屿路6号泰禾广场西区L5层  0.205674   \n",
       "2                                  竹屿路6号泰禾广场西区L6层  0.194988   \n",
       "3                     连江路与化工路交汇处东二环泰禾广场22号楼5层L523  0.194988   \n",
       "4                                  竹屿路6号泰禾广场西区B1层  0.303971   \n",
       "5                                           竹屿路6号    0.3037   \n",
       "6                               岳峰镇竹屿路6号东二环泰禾城市广场  0.205175   \n",
       "7                                          喜盈门路1号  0.170025   \n",
       "8                                  竹屿路6号泰禾广场东区B1层  0.171953   \n",
       "9                                   东二环泰禾广场东区Mall  0.354709   \n",
       "10                                            晋安区  0.284073   \n",
       "11                                横屿路东二环泰禾11号公馆2层  0.180294   \n",
       "12                                       连江北路293号  0.166497   \n",
       "13                              连江北路293-2新南方大厦510  0.134118   \n",
       "14                                     连江北路293-2号  0.390248   \n",
       "15                       岳峰镇竹屿路6号泰禾城市广场商业中心17号楼2层  0.162355   \n",
       "16                              东二环泰禾广场22号楼B102-3  0.435039   \n",
       "17                             化工路与竹屿路交叉口竹泰禾广场B1层  0.456295   \n",
       "18                                       连江北路253号  0.240627   \n",
       "19                                            化工路  0.287082   \n",
       "20                                         化工路38号  0.160973   \n",
       "21                                          竹屿路6号    0.3037   \n",
       "22                     东二环泰禾广场21号楼121(商场2号门音乐喷泉旁)  0.546774   \n",
       "23                                 化工路38号元福建材街A6号  0.159434   \n",
       "24                                 东二环泰禾广场6号楼1-2层  0.308699   \n",
       "25                                            晋安区  0.392054   \n",
       "26                                             []  0.115628   \n",
       "27                                  连江北路喜盈门家居广场5号  0.168303   \n",
       "28                                             []  0.170963   \n",
       "29  岳峰镇连江北路与化工路交叉处东二环泰禾广场(一期)6号楼1层02商业、2层02商业服务用房  0.413476   \n",
       "\n",
       "                       name              location distance  \\\n",
       "0                泰禾广场(东二环店)  119.336008,26.091043  131.133   \n",
       "1               汉拿山(泰禾广场西区)  119.336597,26.090416  40.3777   \n",
       "2               越城记(泰禾广场西区)  119.336715,26.090849  83.5656   \n",
       "3               那一家(泰禾广场西区)  119.335654,26.089788  119.452   \n",
       "4            香港满记甜品(泰禾广场西区)  119.336192,26.090831   101.26   \n",
       "5                    泰禾广场西区  119.336436,26.090321  43.6474   \n",
       "6                      水秀广场  119.334045,26.091683  326.403   \n",
       "7                  福建鑫天地家具城  119.337508,26.088505  191.127   \n",
       "8         英孚教育青少儿英语(泰禾广场东区)  119.338181,26.089937  139.326   \n",
       "9   太空向往主题公园(东二环泰禾广场东区Mall)  119.338452,26.090096  165.173   \n",
       "10                    岳峰高架桥  119.333046,26.090702  380.612   \n",
       "11           新爱婴国际早教(东泰禾中心)  119.337145,26.091853  197.873   \n",
       "12            喜盈门(福州)建材家具广场  119.336276,26.086804  370.338   \n",
       "13              福州捷诚房屋征收工程处  119.338620,26.087260  364.584   \n",
       "14            福州新南方家居建材旗舰中心  119.338583,26.087129  375.523   \n",
       "15       英孚教育青少儿英语(东二环泰禾中心)  119.335070,26.091403  225.263   \n",
       "16         宝岛眼镜(福州东二环泰禾广场店)  119.336394,26.089932   44.532   \n",
       "17             鲑鱼工坊(东二环泰禾店)  119.336410,26.089901  44.6828   \n",
       "18             福州佳通第一塑料有限公司  119.335322,26.087996   276.63   \n",
       "19           泰禾城市广场东区儿童MALL  119.339291,26.090150  249.039   \n",
       "20               林珍装饰材料有限公司  119.338523,26.088908  217.438   \n",
       "21                   泰禾广场东区  119.339455,26.090056  265.394   \n",
       "22          胡桃里音乐酒馆(东二环泰禾店)  119.335132,26.090769   182.21   \n",
       "23                    佰家汇地板  119.339332,26.088229  327.693   \n",
       "24           中国工商银行(福州城东支行)  119.335664,26.092649  305.116   \n",
       "25                      竹屿村  119.339939,26.091106  332.985   \n",
       "26       东二环泰禾广场西区一期SOHO6号楼  119.335468,26.092584  306.374   \n",
       "27                  敏亮家居生活馆  119.337437,26.087349  312.628   \n",
       "28                   SOHOB2  119.339922,26.090487  314.916   \n",
       "29            中国建设银行(东二环支行)  119.335429,26.092663  316.003   \n",
       "\n",
       "                                      tel                       type  \n",
       "0                           0591-63169999               购物服务;商场;购物中心  \n",
       "1                           0591-63168689             餐饮服务;外国餐厅;韩国料理  \n",
       "2                           0591-83215757               餐饮服务;中餐厅;中餐厅  \n",
       "3   0591-87326617;13559149397;18559856251               餐饮服务;中餐厅;中餐厅  \n",
       "4             0591-87301520;0591-87322265               餐饮服务;甜品店;甜品店  \n",
       "5                                      []               购物服务;商场;购物中心  \n",
       "6                                      []             风景名胜;风景名胜;风景名胜  \n",
       "7                           0591-28066385            购物服务;家居建材市场;家具城  \n",
       "8                                      []           科教文化服务;培训机构;培训机构  \n",
       "9                                      []               风景名胜;公园广场;公园  \n",
       "10                                     []            地名地址信息;交通地名;立交桥  \n",
       "11                          0591-87312622       科教文化服务;科教文化场所;科教文化场所  \n",
       "12            0591-88050511;0591-88055300       购物服务;家居建材市场;家具建材综合市场  \n",
       "13                                     []  政府机构及社会团体;政府机关;区县级政府及事业单位  \n",
       "14                                     []       购物服务;家居建材市场;家具建材综合市场  \n",
       "15                             4001079100           科教文化服务;培训机构;培训机构  \n",
       "16                          0591-87315753               购物服务;专卖店;眼镜店  \n",
       "17                            18065078071               餐饮服务;中餐厅;中餐厅  \n",
       "18                                     []                 公司企业;公司;公司  \n",
       "19                          0591-63160999              商务住宅;住宅区;住宅小区  \n",
       "20              0591-83613223;18950396001                 公司企业;公司;公司  \n",
       "21                                     []               购物服务;商场;购物中心  \n",
       "22                          0591-88033929               餐饮服务;中餐厅;中餐厅  \n",
       "23                13799408900;13459403618         购物服务;家居建材市场;家居建材市场  \n",
       "24                          0591-87326989           金融保险服务;银行;中国工商银行  \n",
       "25                                     []          地名地址信息;普通地名;村庄级地名  \n",
       "26                                     []             商务住宅;楼宇;商住两用楼宇  \n",
       "27                                     []            购物服务;家居建材市场;家具城  \n",
       "28                                     []              商务住宅;楼宇;商务写字楼  \n",
       "29                          0591-83011786           金融保险服务;银行;中国建设银行  "
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "# A-3 分析细节\n",
    "roads = pd.json_normalize(泰禾逆地理编码_all['regeocode']['roads'])\n",
    "roadinters = pd.json_normalize(泰禾逆地理编码_all['regeocode']['roadinters'])\n",
    "aois = pd.json_normalize(泰禾逆地理编码_all['regeocode']['aois'])\n",
    "pois = pd.json_normalize(泰禾逆地理编码_all['regeocode']['pois'])\n",
    "display(roads,roadinters,aois,pois)\n"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### 学生练习：\n",
    "1. 观察和练习其他参数\n",
    "2. 想得到更大范围的搜索POI如何操作\n",
    "3. * 请pandas学过的同学对address进行分组groupby练习，尝试找寻不同根类地址下的type（可选用你所找寻的地址，不一定用中大南方）\n",
    "4. * 请思考如何对不同类型的服务进行分类？如美食、旅馆、加油站...等\n",
    "![](lianxi01.png)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 7,
   "metadata": {
    "ExecuteTime": {
     "end_time": "2020-04-22T11:17:08.105553Z",
     "start_time": "2020-04-22T11:17:07.842626Z"
    }
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "{'status': '1', 'regeocode': {'roads': [{'id': '0591G50F023043604849', 'location': '119.338,26.0898', 'direction': '西', 'name': '竹屿路', 'distance': '99.4605'}, {'id': '0591G50F0230431211', 'location': '119.337,26.0891', 'direction': '北', 'name': '化工路', 'distance': '118.864'}, {'id': '0591G50F023043336', 'location': '119.338,26.089', 'direction': '西北', 'name': '茶会路', 'distance': '155.829'}], 'roadinters': [{'second_name': '竹屿路', 'first_id': '0591G50F0230431211', 'second_id': '0591G50F023043604849', 'location': '119.3377947,26.08910972', 'distance': '148.529', 'first_name': '化工路', 'direction': '西北'}], 'formatted_address': '福建省福州市晋安区岳峰镇汉拿山(泰禾广场西区)泰禾广场(东二环店)', 'addressComponent': {'city': '福州市', 'province': '福建省', 'adcode': '350111', 'district': '晋安区', 'towncode': '350111102000', 'streetNumber': {'number': '22号楼', 'location': '119.336414,26.0899031', 'direction': '西南', 'distance': '44.2383', 'street': '连江北路'}, 'country': '中国', 'township': '岳峰镇', 'businessAreas': [{'location': '119.327784,26.08602', 'name': '岳峰', 'id': '350111'}, {'location': '119.356221,26.070663', 'name': '鼓山', 'id': '350111'}, {'location': '119.338741,26.082575', 'name': '茶会村', 'id': '350111'}], 'building': {'name': [], 'type': []}, 'neighborhood': {'name': [], 'type': []}, 'citycode': '0591'}, 'aois': [{'area': '201385.057840', 'type': '060101', 'id': 'B0FFF01ETV', 'location': '119.336008,26.091043', 'adcode': '350111', 'name': '泰禾广场(东二环店)', 'distance': '0'}], 'pois': [{'id': 'B0FFF01ETV', 'direction': '西北', 'businessarea': '岳峰', 'address': '岳峰镇竹屿路6号', 'poiweight': '0.519804', 'name': '泰禾广场(东二环店)', 'location': '119.336008,26.091043', 'distance': '131.133', 'tel': '0591-63169999', 'type': '购物服务;商场;购物中心'}, {'id': 'B0FFJBAYZM', 'direction': '西北', 'businessarea': '岳峰', 'address': '竹屿路6号泰禾广场西区L5层', 'poiweight': '0.205674', 'name': '汉拿山(泰禾广场西区)', 'location': '119.336597,26.090416', 'distance': '40.3777', 'tel': '0591-63168689', 'type': '餐饮服务;外国餐厅;韩国料理'}, {'id': 'B0FFKU0O6Y', 'direction': '北', 'businessarea': '岳峰', 'address': '竹屿路6号泰禾广场西区L6层', 'poiweight': '0.194988', 'name': '越城记(泰禾广场西区)', 'location': '119.336715,26.090849', 'distance': '83.5656', 'tel': '0591-83215757', 'type': '餐饮服务;中餐厅;中餐厅'}, {'id': 'B0FFKU0O6F', 'direction': '西', 'businessarea': '岳峰', 'address': '连江路与化工路交汇处东二环泰禾广场22号楼5层L523', 'poiweight': '0.194988', 'name': '那一家(泰禾广场西区)', 'location': '119.335654,26.089788', 'distance': '119.452', 'tel': '0591-87326617;13559149397;18559856251', 'type': '餐饮服务;中餐厅;中餐厅'}, {'id': 'B0FFGG0O6M', 'direction': '西北', 'businessarea': '岳峰', 'address': '竹屿路6号泰禾广场西区B1层', 'poiweight': '0.303971', 'name': '香港满记甜品(泰禾广场西区)', 'location': '119.336192,26.090831', 'distance': '101.26', 'tel': '0591-87301520;0591-87322265', 'type': '餐饮服务;甜品店;甜品店'}, {'id': 'B0FFKU0OBB', 'direction': '西北', 'businessarea': '岳峰', 'address': '竹屿路6号', 'poiweight': '0.3037', 'name': '泰禾广场西区', 'location': '119.336436,26.090321', 'distance': '43.6474', 'tel': [], 'type': '购物服务;商场;购物中心'}, {'id': 'B0FFG9AN5L', 'direction': '西北', 'businessarea': '岳峰', 'address': '岳峰镇竹屿路6号东二环泰禾城市广场', 'poiweight': '0.205175', 'name': '水秀广场', 'location': '119.334045,26.091683', 'distance': '326.403', 'tel': [], 'type': '风景名胜;风景名胜;风景名胜'}, {'id': 'B0FFF3X852', 'direction': '东南', 'businessarea': '岳峰', 'address': '喜盈门路1号', 'poiweight': '0.170025', 'name': '福建鑫天地家具城', 'location': '119.337508,26.088505', 'distance': '191.127', 'tel': '0591-28066385', 'type': '购物服务;家居建材市场;家具城'}, {'id': 'B0FFKU0NW7', 'direction': '东', 'businessarea': '岳峰', 'address': '竹屿路6号泰禾广场东区B1层', 'poiweight': '0.171953', 'name': '英孚教育青少儿英语(泰禾广场东区)', 'location': '119.338181,26.089937', 'distance': '139.326', 'tel': [], 'type': '科教文化服务;培训机构;培训机构'}, {'id': 'B0FFIII8JK', 'direction': '东', 'businessarea': '岳峰', 'address': '东二环泰禾广场东区Mall', 'poiweight': '0.354709', 'name': '太空向往主题公园(东二环泰禾广场东区Mall)', 'location': '119.338452,26.090096', 'distance': '165.173', 'tel': [], 'type': '风景名胜;公园广场;公园'}, {'id': 'B0FFFA9YP7', 'direction': '西', 'businessarea': '岳峰', 'address': '晋安区', 'poiweight': '0.284073', 'name': '岳峰高架桥', 'location': '119.333046,26.090702', 'distance': '380.612', 'tel': [], 'type': '地名地址信息;交通地名;立交桥'}, {'id': 'B0FFJQQCHP', 'direction': '北', 'businessarea': '岳峰', 'address': '横屿路东二环泰禾11号公馆2层', 'poiweight': '0.180294', 'name': '新爱婴国际早教(东泰禾中心)', 'location': '119.337145,26.091853', 'distance': '197.873', 'tel': '0591-87312622', 'type': '科教文化服务;科教文化场所;科教文化场所'}, {'id': 'B0FFHO85MA', 'direction': '南', 'businessarea': '岳峰', 'address': '连江北路293号', 'poiweight': '0.166497', 'name': '喜盈门(福州)建材家具广场', 'location': '119.336276,26.086804', 'distance': '370.338', 'tel': '0591-88050511;0591-88055300', 'type': '购物服务;家居建材市场;家具建材综合市场'}, {'id': 'B0FFGJ67L3', 'direction': '东南', 'businessarea': '岳峰', 'address': '连江北路293-2新南方大厦510', 'poiweight': '0.134118', 'name': '福州捷诚房屋征收工程处', 'location': '119.338620,26.087260', 'distance': '364.584', 'tel': [], 'type': '政府机构及社会团体;政府机关;区县级政府及事业单位'}, {'id': 'B024F05XAS', 'direction': '东南', 'businessarea': '岳峰', 'address': '连江北路293-2号', 'poiweight': '0.390248', 'name': '福州新南方家居建材旗舰中心', 'location': '119.338583,26.087129', 'distance': '375.523', 'tel': [], 'type': '购物服务;家居建材市场;家具建材综合市场'}, {'id': 'B0FFHZUIKZ', 'direction': '西北', 'businessarea': '岳峰', 'address': '岳峰镇竹屿路6号泰禾城市广场商业中心17号楼2层', 'poiweight': '0.162355', 'name': '英孚教育青少儿英语(东二环泰禾中心)', 'location': '119.335070,26.091403', 'distance': '225.263', 'tel': '4001079100', 'type': '科教文化服务;培训机构;培训机构'}, {'id': 'B0FFGG0IX2', 'direction': '西南', 'businessarea': '岳峰', 'address': '东二环泰禾广场22号楼B102-3', 'poiweight': '0.435039', 'name': '宝岛眼镜(福州东二环泰禾广场店)', 'location': '119.336394,26.089932', 'distance': '44.532', 'tel': '0591-87315753', 'type': '购物服务;专卖店;眼镜店'}, {'id': 'B0FFGMS9C5', 'direction': '西南', 'businessarea': '岳峰', 'address': '化工路与竹屿路交叉口竹泰禾广场B1层', 'poiweight': '0.456295', 'name': '鲑鱼工坊(东二环泰禾店)', 'location': '119.336410,26.089901', 'distance': '44.6828', 'tel': '18065078071', 'type': '餐饮服务;中餐厅;中餐厅'}, {'id': 'B024F000CD', 'direction': '西南', 'businessarea': '岳峰', 'address': '连江北路253号', 'poiweight': '0.240627', 'name': '福州佳通第一塑料有限公司', 'location': '119.335322,26.087996', 'distance': '276.63', 'tel': [], 'type': '公司企业;公司;公司'}, {'id': 'B0FFHMX11D', 'direction': '东', 'businessarea': '岳峰', 'address': '化工路', 'poiweight': '0.287082', 'name': '泰禾城市广场东区儿童MALL', 'location': '119.339291,26.090150', 'distance': '249.039', 'tel': '0591-63160999', 'type': '商务住宅;住宅区;住宅小区'}, {'id': 'B0FFGJ6DNT', 'direction': '东南', 'businessarea': '岳峰', 'address': '化工路38号', 'poiweight': '0.160973', 'name': '林珍装饰材料有限公司', 'location': '119.338523,26.088908', 'distance': '217.438', 'tel': '0591-83613223;18950396001', 'type': '公司企业;公司;公司'}, {'id': 'B0FFKU0OAV', 'direction': '东', 'businessarea': '岳峰', 'address': '竹屿路6号', 'poiweight': '0.3037', 'name': '泰禾广场东区', 'location': '119.339455,26.090056', 'distance': '265.394', 'tel': [], 'type': '购物服务;商场;购物中心'}, {'id': 'B0FFIAVDVB', 'direction': '西', 'businessarea': '岳峰', 'address': '东二环泰禾广场21号楼121(商场2号门音乐喷泉旁)', 'poiweight': '0.546774', 'name': '胡桃里音乐酒馆(东二环泰禾店)', 'location': '119.335132,26.090769', 'distance': '182.21', 'tel': '0591-88033929', 'type': '餐饮服务;中餐厅;中餐厅'}, {'id': 'B0FFGG7M4L', 'direction': '东南', 'businessarea': '岳峰', 'address': '化工路38号元福建材街A6号', 'poiweight': '0.159434', 'name': '佰家汇地板', 'location': '119.339332,26.088229', 'distance': '327.693', 'tel': '13799408900;13459403618', 'type': '购物服务;家居建材市场;家居建材市场'}, {'id': 'B0FFHHVP0V', 'direction': '西北', 'businessarea': '岳峰', 'address': '东二环泰禾广场6号楼1-2层', 'poiweight': '0.308699', 'name': '中国工商银行(福州城东支行)', 'location': '119.335664,26.092649', 'distance': '305.116', 'tel': '0591-87326989', 'type': '金融保险服务;银行;中国工商银行'}, {'id': 'B024F04OJH', 'direction': '东', 'businessarea': '岳峰', 'address': '晋安区', 'poiweight': '0.392054', 'name': '竹屿村', 'location': '119.339939,26.091106', 'distance': '332.985', 'tel': [], 'type': '地名地址信息;普通地名;村庄级地名'}, {'id': 'B0FFHLLQMG', 'direction': '西北', 'businessarea': '岳峰', 'address': [], 'poiweight': '0.115628', 'name': '东二环泰禾广场西区一期SOHO6号楼', 'location': '119.335468,26.092584', 'distance': '306.374', 'tel': [], 'type': '商务住宅;楼宇;商住两用楼宇'}, {'id': 'B0FFH4X6HI', 'direction': '南', 'businessarea': '岳峰', 'address': '连江北路喜盈门家居广场5号', 'poiweight': '0.168303', 'name': '敏亮家居生活馆', 'location': '119.337437,26.087349', 'distance': '312.628', 'tel': [], 'type': '购物服务;家居建材市场;家具城'}, {'id': 'B0FFLCVA9L', 'direction': '东', 'businessarea': '岳峰', 'address': [], 'poiweight': '0.170963', 'name': 'SOHOB2', 'location': '119.339922,26.090487', 'distance': '314.916', 'tel': [], 'type': '商务住宅;楼宇;商务写字楼'}, {'id': 'B0FFHF0HDG', 'direction': '西北', 'businessarea': '岳峰', 'address': '岳峰镇连江北路与化工路交叉处东二环泰禾广场(一期)6号楼1层02商业、2层02商业服务用房', 'poiweight': '0.413476', 'name': '中国建设银行(东二环支行)', 'location': '119.335429,26.092663', 'distance': '316.003', 'tel': '0591-83011786', 'type': '金融保险服务;银行;中国建设银行'}]}, 'info': 'OK', 'infocode': '10000'}\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>0</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>status</th>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>info</th>\n",
       "      <td>OK</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>infocode</th>\n",
       "      <td>10000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.roads</th>\n",
       "      <td>[{'id': '0591G50F023043604849', 'location': '1...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.roadinters</th>\n",
       "      <td>[{'second_name': '竹屿路', 'first_id': '0591G50F0...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.formatted_address</th>\n",
       "      <td>福建省福州市晋安区岳峰镇汉拿山(泰禾广场西区)泰禾广场(东二环店)</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.city</th>\n",
       "      <td>福州市</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.province</th>\n",
       "      <td>福建省</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.adcode</th>\n",
       "      <td>350111</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.district</th>\n",
       "      <td>晋安区</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.towncode</th>\n",
       "      <td>350111102000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.streetNumber.number</th>\n",
       "      <td>22号楼</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.streetNumber.location</th>\n",
       "      <td>119.336414,26.0899031</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.streetNumber.direction</th>\n",
       "      <td>西南</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.streetNumber.distance</th>\n",
       "      <td>44.2383</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.streetNumber.street</th>\n",
       "      <td>连江北路</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.country</th>\n",
       "      <td>中国</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.township</th>\n",
       "      <td>岳峰镇</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.businessAreas</th>\n",
       "      <td>[{'location': '119.327784,26.08602', 'name': '...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.building.name</th>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.building.type</th>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.neighborhood.name</th>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.neighborhood.type</th>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.addressComponent.citycode</th>\n",
       "      <td>0591</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.aois</th>\n",
       "      <td>[{'area': '201385.057840', 'type': '060101', '...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>regeocode.pois</th>\n",
       "      <td>[{'id': 'B0FFF01ETV', 'direction': '西北', 'busi...</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "                                                                                                   0\n",
       "status                                                                                             1\n",
       "info                                                                                              OK\n",
       "infocode                                                                                       10000\n",
       "regeocode.roads                                    [{'id': '0591G50F023043604849', 'location': '1...\n",
       "regeocode.roadinters                               [{'second_name': '竹屿路', 'first_id': '0591G50F0...\n",
       "regeocode.formatted_address                                        福建省福州市晋安区岳峰镇汉拿山(泰禾广场西区)泰禾广场(东二环店)\n",
       "regeocode.addressComponent.city                                                                  福州市\n",
       "regeocode.addressComponent.province                                                              福建省\n",
       "regeocode.addressComponent.adcode                                                             350111\n",
       "regeocode.addressComponent.district                                                              晋安区\n",
       "regeocode.addressComponent.towncode                                                     350111102000\n",
       "regeocode.addressComponent.streetNumber.number                                                  22号楼\n",
       "regeocode.addressComponent.streetNumber.location                               119.336414,26.0899031\n",
       "regeocode.addressComponent.streetNumber.direction                                                 西南\n",
       "regeocode.addressComponent.streetNumber.distance                                             44.2383\n",
       "regeocode.addressComponent.streetNumber.street                                                  连江北路\n",
       "regeocode.addressComponent.country                                                                中国\n",
       "regeocode.addressComponent.township                                                              岳峰镇\n",
       "regeocode.addressComponent.businessAreas           [{'location': '119.327784,26.08602', 'name': '...\n",
       "regeocode.addressComponent.building.name                                                          []\n",
       "regeocode.addressComponent.building.type                                                          []\n",
       "regeocode.addressComponent.neighborhood.name                                                      []\n",
       "regeocode.addressComponent.neighborhood.type                                                      []\n",
       "regeocode.addressComponent.citycode                                                             0591\n",
       "regeocode.aois                                     [{'area': '201385.057840', 'type': '060101', '...\n",
       "regeocode.pois                                     [{'id': 'B0FFF01ETV', 'direction': '西北', 'busi..."
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "泰禾广场逆地理编码_all = regeocode(泰禾地理编码,extensions=\"all\",radius=3000,roadlevel=0,)\n",
    "print(泰禾广场逆地理编码_all)\n",
    "df_泰禾广场逆地理编码_all = pd.json_normalize(泰禾广场逆地理编码_all).T\n",
    "display(df_泰禾广场逆地理编码_all)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 8,
   "metadata": {
    "ExecuteTime": {
     "end_time": "2020-04-22T11:17:08.682750Z",
     "start_time": "2020-04-22T11:17:08.659783Z"
    }
   },
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>id</th>\n",
       "      <th>direction</th>\n",
       "      <th>businessarea</th>\n",
       "      <th>address</th>\n",
       "      <th>poiweight</th>\n",
       "      <th>name</th>\n",
       "      <th>location</th>\n",
       "      <th>distance</th>\n",
       "      <th>tel</th>\n",
       "      <th>type</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>B0FFF01ETV</td>\n",
       "      <td>西北</td>\n",
       "      <td>岳峰</td>\n",
       "      <td>岳峰镇竹屿路6号</td>\n",
       "      <td>0.519804</td>\n",
       "      <td>泰禾广场(东二环店)</td>\n",
       "      <td>119.336008,26.091043</td>\n",
       "      <td>131.133</td>\n",
       "      <td>0591-63169999</td>\n",
       "      <td>购物服务;商场;购物中心</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>B0FFJBAYZM</td>\n",
       "      <td>西北</td>\n",
       "      <td>岳峰</td>\n",
       "      <td>竹屿路6号泰禾广场西区L5层</td>\n",
       "      <td>0.205674</td>\n",
       "      <td>汉拿山(泰禾广场西区)</td>\n",
       "      <td>119.336597,26.090416</td>\n",
       "      <td>40.3777</td>\n",
       "      <td>0591-63168689</td>\n",
       "      <td>餐饮服务;外国餐厅;韩国料理</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>B0FFKU0O6Y</td>\n",
       "      <td>北</td>\n",
       "      <td>岳峰</td>\n",
       "      <td>竹屿路6号泰禾广场西区L6层</td>\n",
       "      <td>0.194988</td>\n",
       "      <td>越城记(泰禾广场西区)</td>\n",
       "      <td>119.336715,26.090849</td>\n",
       "      <td>83.5656</td>\n",
       "      <td>0591-83215757</td>\n",
       "      <td>餐饮服务;中餐厅;中餐厅</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>B0FFKU0O6F</td>\n",
       "      <td>西</td>\n",
       "      <td>岳峰</td>\n",
       "      <td>连江路与化工路交汇处东二环泰禾广场22号楼5层L523</td>\n",
       "      <td>0.194988</td>\n",
       "      <td>那一家(泰禾广场西区)</td>\n",
       "      <td>119.335654,26.089788</td>\n",
       "      <td>119.452</td>\n",
       "      <td>0591-87326617;13559149397;18559856251</td>\n",
       "      <td>餐饮服务;中餐厅;中餐厅</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>B0FFGG0O6M</td>\n",
       "      <td>西北</td>\n",
       "      <td>岳峰</td>\n",
       "      <td>竹屿路6号泰禾广场西区B1层</td>\n",
       "      <td>0.303971</td>\n",
       "      <td>香港满记甜品(泰禾广场西区)</td>\n",
       "      <td>119.336192,26.090831</td>\n",
       "      <td>101.26</td>\n",
       "      <td>0591-87301520;0591-87322265</td>\n",
       "      <td>餐饮服务;甜品店;甜品店</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>B0FFKU0OBB</td>\n",
       "      <td>西北</td>\n",
       "      <td>岳峰</td>\n",
       "      <td>竹屿路6号</td>\n",
       "      <td>0.3037</td>\n",
       "      <td>泰禾广场西区</td>\n",
       "      <td>119.336436,26.090321</td>\n",
       "      <td>43.6474</td>\n",
       "      <td>[]</td>\n",
       "      <td>购物服务;商场;购物中心</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>B0FFG9AN5L</td>\n",
       "      <td>西北</td>\n",
       "      <td>岳峰</td>\n",
       "      <td>岳峰镇竹屿路6号东二环泰禾城市广场</td>\n",
       "      <td>0.205175</td>\n",
       "      <td>水秀广场</td>\n",
       "      <td>119.334045,26.091683</td>\n",
       "      <td>326.403</td>\n",
       "      <td>[]</td>\n",
       "      <td>风景名胜;风景名胜;风景名胜</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>B0FFF3X852</td>\n",
       "      <td>东南</td>\n",
       "      <td>岳峰</td>\n",
       "      <td>喜盈门路1号</td>\n",
       "      <td>0.170025</td>\n",
       "      <td>福建鑫天地家具城</td>\n",
       "      <td>119.337508,26.088505</td>\n",
       "      <td>191.127</td>\n",
       "      <td>0591-28066385</td>\n",
       "      <td>购物服务;家居建材市场;家具城</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>B0FFKU0NW7</td>\n",
       "      <td>东</td>\n",
       "      <td>岳峰</td>\n",
       "      <td>竹屿路6号泰禾广场东区B1层</td>\n",
       "      <td>0.171953</td>\n",
       "      <td>英孚教育青少儿英语(泰禾广场东区)</td>\n",
       "      <td>119.338181,26.089937</td>\n",
       "      <td>139.326</td>\n",
       "      <td>[]</td>\n",
       "      <td>科教文化服务;培训机构;培训机构</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>B0FFIII8JK</td>\n",
       "      <td>东</td>\n",
       "      <td>岳峰</td>\n",
       "      <td>东二环泰禾广场东区Mall</td>\n",
       "      <td>0.354709</td>\n",
       "      <td>太空向往主题公园(东二环泰禾广场东区Mall)</td>\n",
       "      <td>119.338452,26.090096</td>\n",
       "      <td>165.173</td>\n",
       "      <td>[]</td>\n",
       "      <td>风景名胜;公园广场;公园</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>B0FFFA9YP7</td>\n",
       "      <td>西</td>\n",
       "      <td>岳峰</td>\n",
       "      <td>晋安区</td>\n",
       "      <td>0.284073</td>\n",
       "      <td>岳峰高架桥</td>\n",
       "      <td>119.333046,26.090702</td>\n",
       "      <td>380.612</td>\n",
       "      <td>[]</td>\n",
       "      <td>地名地址信息;交通地名;立交桥</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>B0FFJQQCHP</td>\n",
       "      <td>北</td>\n",
       "      <td>岳峰</td>\n",
       "      <td>横屿路东二环泰禾11号公馆2层</td>\n",
       "      <td>0.180294</td>\n",
       "      <td>新爱婴国际早教(东泰禾中心)</td>\n",
       "      <td>119.337145,26.091853</td>\n",
       "      <td>197.873</td>\n",
       "      <td>0591-87312622</td>\n",
       "      <td>科教文化服务;科教文化场所;科教文化场所</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>B0FFHO85MA</td>\n",
       "      <td>南</td>\n",
       "      <td>岳峰</td>\n",
       "      <td>连江北路293号</td>\n",
       "      <td>0.166497</td>\n",
       "      <td>喜盈门(福州)建材家具广场</td>\n",
       "      <td>119.336276,26.086804</td>\n",
       "      <td>370.338</td>\n",
       "      <td>0591-88050511;0591-88055300</td>\n",
       "      <td>购物服务;家居建材市场;家具建材综合市场</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>B0FFGJ67L3</td>\n",
       "      <td>东南</td>\n",
       "      <td>岳峰</td>\n",
       "      <td>连江北路293-2新南方大厦510</td>\n",
       "      <td>0.134118</td>\n",
       "      <td>福州捷诚房屋征收工程处</td>\n",
       "      <td>119.338620,26.087260</td>\n",
       "      <td>364.584</td>\n",
       "      <td>[]</td>\n",
       "      <td>政府机构及社会团体;政府机关;区县级政府及事业单位</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>B024F05XAS</td>\n",
       "      <td>东南</td>\n",
       "      <td>岳峰</td>\n",
       "      <td>连江北路293-2号</td>\n",
       "      <td>0.390248</td>\n",
       "      <td>福州新南方家居建材旗舰中心</td>\n",
       "      <td>119.338583,26.087129</td>\n",
       "      <td>375.523</td>\n",
       "      <td>[]</td>\n",
       "      <td>购物服务;家居建材市场;家具建材综合市场</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>B0FFHZUIKZ</td>\n",
       "      <td>西北</td>\n",
       "      <td>岳峰</td>\n",
       "      <td>岳峰镇竹屿路6号泰禾城市广场商业中心17号楼2层</td>\n",
       "      <td>0.162355</td>\n",
       "      <td>英孚教育青少儿英语(东二环泰禾中心)</td>\n",
       "      <td>119.335070,26.091403</td>\n",
       "      <td>225.263</td>\n",
       "      <td>4001079100</td>\n",
       "      <td>科教文化服务;培训机构;培训机构</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>B0FFGG0IX2</td>\n",
       "      <td>西南</td>\n",
       "      <td>岳峰</td>\n",
       "      <td>东二环泰禾广场22号楼B102-3</td>\n",
       "      <td>0.435039</td>\n",
       "      <td>宝岛眼镜(福州东二环泰禾广场店)</td>\n",
       "      <td>119.336394,26.089932</td>\n",
       "      <td>44.532</td>\n",
       "      <td>0591-87315753</td>\n",
       "      <td>购物服务;专卖店;眼镜店</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>B0FFGMS9C5</td>\n",
       "      <td>西南</td>\n",
       "      <td>岳峰</td>\n",
       "      <td>化工路与竹屿路交叉口竹泰禾广场B1层</td>\n",
       "      <td>0.456295</td>\n",
       "      <td>鲑鱼工坊(东二环泰禾店)</td>\n",
       "      <td>119.336410,26.089901</td>\n",
       "      <td>44.6828</td>\n",
       "      <td>18065078071</td>\n",
       "      <td>餐饮服务;中餐厅;中餐厅</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>B024F000CD</td>\n",
       "      <td>西南</td>\n",
       "      <td>岳峰</td>\n",
       "      <td>连江北路253号</td>\n",
       "      <td>0.240627</td>\n",
       "      <td>福州佳通第一塑料有限公司</td>\n",
       "      <td>119.335322,26.087996</td>\n",
       "      <td>276.63</td>\n",
       "      <td>[]</td>\n",
       "      <td>公司企业;公司;公司</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>B0FFHMX11D</td>\n",
       "      <td>东</td>\n",
       "      <td>岳峰</td>\n",
       "      <td>化工路</td>\n",
       "      <td>0.287082</td>\n",
       "      <td>泰禾城市广场东区儿童MALL</td>\n",
       "      <td>119.339291,26.090150</td>\n",
       "      <td>249.039</td>\n",
       "      <td>0591-63160999</td>\n",
       "      <td>商务住宅;住宅区;住宅小区</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>20</th>\n",
       "      <td>B0FFGJ6DNT</td>\n",
       "      <td>东南</td>\n",
       "      <td>岳峰</td>\n",
       "      <td>化工路38号</td>\n",
       "      <td>0.160973</td>\n",
       "      <td>林珍装饰材料有限公司</td>\n",
       "      <td>119.338523,26.088908</td>\n",
       "      <td>217.438</td>\n",
       "      <td>0591-83613223;18950396001</td>\n",
       "      <td>公司企业;公司;公司</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>21</th>\n",
       "      <td>B0FFKU0OAV</td>\n",
       "      <td>东</td>\n",
       "      <td>岳峰</td>\n",
       "      <td>竹屿路6号</td>\n",
       "      <td>0.3037</td>\n",
       "      <td>泰禾广场东区</td>\n",
       "      <td>119.339455,26.090056</td>\n",
       "      <td>265.394</td>\n",
       "      <td>[]</td>\n",
       "      <td>购物服务;商场;购物中心</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>22</th>\n",
       "      <td>B0FFIAVDVB</td>\n",
       "      <td>西</td>\n",
       "      <td>岳峰</td>\n",
       "      <td>东二环泰禾广场21号楼121(商场2号门音乐喷泉旁)</td>\n",
       "      <td>0.546774</td>\n",
       "      <td>胡桃里音乐酒馆(东二环泰禾店)</td>\n",
       "      <td>119.335132,26.090769</td>\n",
       "      <td>182.21</td>\n",
       "      <td>0591-88033929</td>\n",
       "      <td>餐饮服务;中餐厅;中餐厅</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>23</th>\n",
       "      <td>B0FFGG7M4L</td>\n",
       "      <td>东南</td>\n",
       "      <td>岳峰</td>\n",
       "      <td>化工路38号元福建材街A6号</td>\n",
       "      <td>0.159434</td>\n",
       "      <td>佰家汇地板</td>\n",
       "      <td>119.339332,26.088229</td>\n",
       "      <td>327.693</td>\n",
       "      <td>13799408900;13459403618</td>\n",
       "      <td>购物服务;家居建材市场;家居建材市场</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>24</th>\n",
       "      <td>B0FFHHVP0V</td>\n",
       "      <td>西北</td>\n",
       "      <td>岳峰</td>\n",
       "      <td>东二环泰禾广场6号楼1-2层</td>\n",
       "      <td>0.308699</td>\n",
       "      <td>中国工商银行(福州城东支行)</td>\n",
       "      <td>119.335664,26.092649</td>\n",
       "      <td>305.116</td>\n",
       "      <td>0591-87326989</td>\n",
       "      <td>金融保险服务;银行;中国工商银行</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>25</th>\n",
       "      <td>B024F04OJH</td>\n",
       "      <td>东</td>\n",
       "      <td>岳峰</td>\n",
       "      <td>晋安区</td>\n",
       "      <td>0.392054</td>\n",
       "      <td>竹屿村</td>\n",
       "      <td>119.339939,26.091106</td>\n",
       "      <td>332.985</td>\n",
       "      <td>[]</td>\n",
       "      <td>地名地址信息;普通地名;村庄级地名</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>26</th>\n",
       "      <td>B0FFHLLQMG</td>\n",
       "      <td>西北</td>\n",
       "      <td>岳峰</td>\n",
       "      <td>[]</td>\n",
       "      <td>0.115628</td>\n",
       "      <td>东二环泰禾广场西区一期SOHO6号楼</td>\n",
       "      <td>119.335468,26.092584</td>\n",
       "      <td>306.374</td>\n",
       "      <td>[]</td>\n",
       "      <td>商务住宅;楼宇;商住两用楼宇</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>27</th>\n",
       "      <td>B0FFH4X6HI</td>\n",
       "      <td>南</td>\n",
       "      <td>岳峰</td>\n",
       "      <td>连江北路喜盈门家居广场5号</td>\n",
       "      <td>0.168303</td>\n",
       "      <td>敏亮家居生活馆</td>\n",
       "      <td>119.337437,26.087349</td>\n",
       "      <td>312.628</td>\n",
       "      <td>[]</td>\n",
       "      <td>购物服务;家居建材市场;家具城</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>28</th>\n",
       "      <td>B0FFLCVA9L</td>\n",
       "      <td>东</td>\n",
       "      <td>岳峰</td>\n",
       "      <td>[]</td>\n",
       "      <td>0.170963</td>\n",
       "      <td>SOHOB2</td>\n",
       "      <td>119.339922,26.090487</td>\n",
       "      <td>314.916</td>\n",
       "      <td>[]</td>\n",
       "      <td>商务住宅;楼宇;商务写字楼</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>29</th>\n",
       "      <td>B0FFHF0HDG</td>\n",
       "      <td>西北</td>\n",
       "      <td>岳峰</td>\n",
       "      <td>岳峰镇连江北路与化工路交叉处东二环泰禾广场(一期)6号楼1层02商业、2层02商业服务用房</td>\n",
       "      <td>0.413476</td>\n",
       "      <td>中国建设银行(东二环支行)</td>\n",
       "      <td>119.335429,26.092663</td>\n",
       "      <td>316.003</td>\n",
       "      <td>0591-83011786</td>\n",
       "      <td>金融保险服务;银行;中国建设银行</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "            id direction businessarea  \\\n",
       "0   B0FFF01ETV        西北           岳峰   \n",
       "1   B0FFJBAYZM        西北           岳峰   \n",
       "2   B0FFKU0O6Y         北           岳峰   \n",
       "3   B0FFKU0O6F         西           岳峰   \n",
       "4   B0FFGG0O6M        西北           岳峰   \n",
       "5   B0FFKU0OBB        西北           岳峰   \n",
       "6   B0FFG9AN5L        西北           岳峰   \n",
       "7   B0FFF3X852        东南           岳峰   \n",
       "8   B0FFKU0NW7         东           岳峰   \n",
       "9   B0FFIII8JK         东           岳峰   \n",
       "10  B0FFFA9YP7         西           岳峰   \n",
       "11  B0FFJQQCHP         北           岳峰   \n",
       "12  B0FFHO85MA         南           岳峰   \n",
       "13  B0FFGJ67L3        东南           岳峰   \n",
       "14  B024F05XAS        东南           岳峰   \n",
       "15  B0FFHZUIKZ        西北           岳峰   \n",
       "16  B0FFGG0IX2        西南           岳峰   \n",
       "17  B0FFGMS9C5        西南           岳峰   \n",
       "18  B024F000CD        西南           岳峰   \n",
       "19  B0FFHMX11D         东           岳峰   \n",
       "20  B0FFGJ6DNT        东南           岳峰   \n",
       "21  B0FFKU0OAV         东           岳峰   \n",
       "22  B0FFIAVDVB         西           岳峰   \n",
       "23  B0FFGG7M4L        东南           岳峰   \n",
       "24  B0FFHHVP0V        西北           岳峰   \n",
       "25  B024F04OJH         东           岳峰   \n",
       "26  B0FFHLLQMG        西北           岳峰   \n",
       "27  B0FFH4X6HI         南           岳峰   \n",
       "28  B0FFLCVA9L         东           岳峰   \n",
       "29  B0FFHF0HDG        西北           岳峰   \n",
       "\n",
       "                                          address poiweight  \\\n",
       "0                                        岳峰镇竹屿路6号  0.519804   \n",
       "1                                  竹屿路6号泰禾广场西区L5层  0.205674   \n",
       "2                                  竹屿路6号泰禾广场西区L6层  0.194988   \n",
       "3                     连江路与化工路交汇处东二环泰禾广场22号楼5层L523  0.194988   \n",
       "4                                  竹屿路6号泰禾广场西区B1层  0.303971   \n",
       "5                                           竹屿路6号    0.3037   \n",
       "6                               岳峰镇竹屿路6号东二环泰禾城市广场  0.205175   \n",
       "7                                          喜盈门路1号  0.170025   \n",
       "8                                  竹屿路6号泰禾广场东区B1层  0.171953   \n",
       "9                                   东二环泰禾广场东区Mall  0.354709   \n",
       "10                                            晋安区  0.284073   \n",
       "11                                横屿路东二环泰禾11号公馆2层  0.180294   \n",
       "12                                       连江北路293号  0.166497   \n",
       "13                              连江北路293-2新南方大厦510  0.134118   \n",
       "14                                     连江北路293-2号  0.390248   \n",
       "15                       岳峰镇竹屿路6号泰禾城市广场商业中心17号楼2层  0.162355   \n",
       "16                              东二环泰禾广场22号楼B102-3  0.435039   \n",
       "17                             化工路与竹屿路交叉口竹泰禾广场B1层  0.456295   \n",
       "18                                       连江北路253号  0.240627   \n",
       "19                                            化工路  0.287082   \n",
       "20                                         化工路38号  0.160973   \n",
       "21                                          竹屿路6号    0.3037   \n",
       "22                     东二环泰禾广场21号楼121(商场2号门音乐喷泉旁)  0.546774   \n",
       "23                                 化工路38号元福建材街A6号  0.159434   \n",
       "24                                 东二环泰禾广场6号楼1-2层  0.308699   \n",
       "25                                            晋安区  0.392054   \n",
       "26                                             []  0.115628   \n",
       "27                                  连江北路喜盈门家居广场5号  0.168303   \n",
       "28                                             []  0.170963   \n",
       "29  岳峰镇连江北路与化工路交叉处东二环泰禾广场(一期)6号楼1层02商业、2层02商业服务用房  0.413476   \n",
       "\n",
       "                       name              location distance  \\\n",
       "0                泰禾广场(东二环店)  119.336008,26.091043  131.133   \n",
       "1               汉拿山(泰禾广场西区)  119.336597,26.090416  40.3777   \n",
       "2               越城记(泰禾广场西区)  119.336715,26.090849  83.5656   \n",
       "3               那一家(泰禾广场西区)  119.335654,26.089788  119.452   \n",
       "4            香港满记甜品(泰禾广场西区)  119.336192,26.090831   101.26   \n",
       "5                    泰禾广场西区  119.336436,26.090321  43.6474   \n",
       "6                      水秀广场  119.334045,26.091683  326.403   \n",
       "7                  福建鑫天地家具城  119.337508,26.088505  191.127   \n",
       "8         英孚教育青少儿英语(泰禾广场东区)  119.338181,26.089937  139.326   \n",
       "9   太空向往主题公园(东二环泰禾广场东区Mall)  119.338452,26.090096  165.173   \n",
       "10                    岳峰高架桥  119.333046,26.090702  380.612   \n",
       "11           新爱婴国际早教(东泰禾中心)  119.337145,26.091853  197.873   \n",
       "12            喜盈门(福州)建材家具广场  119.336276,26.086804  370.338   \n",
       "13              福州捷诚房屋征收工程处  119.338620,26.087260  364.584   \n",
       "14            福州新南方家居建材旗舰中心  119.338583,26.087129  375.523   \n",
       "15       英孚教育青少儿英语(东二环泰禾中心)  119.335070,26.091403  225.263   \n",
       "16         宝岛眼镜(福州东二环泰禾广场店)  119.336394,26.089932   44.532   \n",
       "17             鲑鱼工坊(东二环泰禾店)  119.336410,26.089901  44.6828   \n",
       "18             福州佳通第一塑料有限公司  119.335322,26.087996   276.63   \n",
       "19           泰禾城市广场东区儿童MALL  119.339291,26.090150  249.039   \n",
       "20               林珍装饰材料有限公司  119.338523,26.088908  217.438   \n",
       "21                   泰禾广场东区  119.339455,26.090056  265.394   \n",
       "22          胡桃里音乐酒馆(东二环泰禾店)  119.335132,26.090769   182.21   \n",
       "23                    佰家汇地板  119.339332,26.088229  327.693   \n",
       "24           中国工商银行(福州城东支行)  119.335664,26.092649  305.116   \n",
       "25                      竹屿村  119.339939,26.091106  332.985   \n",
       "26       东二环泰禾广场西区一期SOHO6号楼  119.335468,26.092584  306.374   \n",
       "27                  敏亮家居生活馆  119.337437,26.087349  312.628   \n",
       "28                   SOHOB2  119.339922,26.090487  314.916   \n",
       "29            中国建设银行(东二环支行)  119.335429,26.092663  316.003   \n",
       "\n",
       "                                      tel                       type  \n",
       "0                           0591-63169999               购物服务;商场;购物中心  \n",
       "1                           0591-63168689             餐饮服务;外国餐厅;韩国料理  \n",
       "2                           0591-83215757               餐饮服务;中餐厅;中餐厅  \n",
       "3   0591-87326617;13559149397;18559856251               餐饮服务;中餐厅;中餐厅  \n",
       "4             0591-87301520;0591-87322265               餐饮服务;甜品店;甜品店  \n",
       "5                                      []               购物服务;商场;购物中心  \n",
       "6                                      []             风景名胜;风景名胜;风景名胜  \n",
       "7                           0591-28066385            购物服务;家居建材市场;家具城  \n",
       "8                                      []           科教文化服务;培训机构;培训机构  \n",
       "9                                      []               风景名胜;公园广场;公园  \n",
       "10                                     []            地名地址信息;交通地名;立交桥  \n",
       "11                          0591-87312622       科教文化服务;科教文化场所;科教文化场所  \n",
       "12            0591-88050511;0591-88055300       购物服务;家居建材市场;家具建材综合市场  \n",
       "13                                     []  政府机构及社会团体;政府机关;区县级政府及事业单位  \n",
       "14                                     []       购物服务;家居建材市场;家具建材综合市场  \n",
       "15                             4001079100           科教文化服务;培训机构;培训机构  \n",
       "16                          0591-87315753               购物服务;专卖店;眼镜店  \n",
       "17                            18065078071               餐饮服务;中餐厅;中餐厅  \n",
       "18                                     []                 公司企业;公司;公司  \n",
       "19                          0591-63160999              商务住宅;住宅区;住宅小区  \n",
       "20              0591-83613223;18950396001                 公司企业;公司;公司  \n",
       "21                                     []               购物服务;商场;购物中心  \n",
       "22                          0591-88033929               餐饮服务;中餐厅;中餐厅  \n",
       "23                13799408900;13459403618         购物服务;家居建材市场;家居建材市场  \n",
       "24                          0591-87326989           金融保险服务;银行;中国工商银行  \n",
       "25                                     []          地名地址信息;普通地名;村庄级地名  \n",
       "26                                     []             商务住宅;楼宇;商住两用楼宇  \n",
       "27                                     []            购物服务;家居建材市场;家具城  \n",
       "28                                     []              商务住宅;楼宇;商务写字楼  \n",
       "29                          0591-83011786           金融保险服务;银行;中国建设银行  "
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "店铺 = pd.json_normalize(泰禾广场逆地理编码_all['regeocode']['pois'])\n",
    "display(店铺)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 9,
   "metadata": {
    "ExecuteTime": {
     "end_time": "2020-04-22T11:17:08.836602Z",
     "start_time": "2020-04-22T11:17:08.832646Z"
    }
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "0                  泰禾广场(东二环店)\n",
       "1                 汉拿山(泰禾广场西区)\n",
       "2                 越城记(泰禾广场西区)\n",
       "3                 那一家(泰禾广场西区)\n",
       "4              香港满记甜品(泰禾广场西区)\n",
       "5                      泰禾广场西区\n",
       "6                        水秀广场\n",
       "7                    福建鑫天地家具城\n",
       "8           英孚教育青少儿英语(泰禾广场东区)\n",
       "9     太空向往主题公园(东二环泰禾广场东区Mall)\n",
       "10                      岳峰高架桥\n",
       "11             新爱婴国际早教(东泰禾中心)\n",
       "12              喜盈门(福州)建材家具广场\n",
       "13                福州捷诚房屋征收工程处\n",
       "14              福州新南方家居建材旗舰中心\n",
       "15         英孚教育青少儿英语(东二环泰禾中心)\n",
       "16           宝岛眼镜(福州东二环泰禾广场店)\n",
       "17               鲑鱼工坊(东二环泰禾店)\n",
       "18               福州佳通第一塑料有限公司\n",
       "19             泰禾城市广场东区儿童MALL\n",
       "20                 林珍装饰材料有限公司\n",
       "21                     泰禾广场东区\n",
       "22            胡桃里音乐酒馆(东二环泰禾店)\n",
       "23                      佰家汇地板\n",
       "24             中国工商银行(福州城东支行)\n",
       "25                        竹屿村\n",
       "26         东二环泰禾广场西区一期SOHO6号楼\n",
       "27                    敏亮家居生活馆\n",
       "28                     SOHOB2\n",
       "29              中国建设银行(东二环支行)\n",
       "Name: name, dtype: object"
      ]
     },
     "execution_count": 9,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "店铺['name']"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 路径规划（点到点的过程）  \n",
    "**或许用到了推荐算法**\n",
    "\n",
    "### 产品的设计思维 \n",
    "\n",
    "1. 请思考，什么样的产品需要路径规划？\n",
    "2. 如果你的产品需要，你会如何使用？\n",
    "3. 最优路线如何选择？高德会用到什么算法？（推荐系统）\n",
    "    1. 推荐系统输入location么？（起点、终点？还是全部点？）\n",
    "    2. 实时的定位？（多长时间定位一次）更新1\n",
    "    3. 定位完成其他点的变化？距离的选择（用户希望路边有更多的需求还是希望快速找到目的地？）\n",
    "    4. 以上思考的越多，你的产品考虑的会越周全，避免产品后期的大量更改。\n",
    "    \n",
    "4. 可能了解的知识面，不需要清楚怎么做，但可以了解输入输出的结果是什么。参考如下图\n",
    "\n",
    "![](http://imgtec.eetrend.com/files/2019-03/%E5%8D%9A%E5%AE%A2/100018447-63696-10.jpg)\n",
    "\n",
    "-----\n",
    "![](https://pic2.zhimg.com/50/v2-45a26a9985308d90405dea78e6892dd0_r.jpg)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### 步行路径规划（API基本流程）（代码B）"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "#### B-1 准备base url、params、response.json（） "
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 10,
   "metadata": {
    "ExecuteTime": {
     "end_time": "2020-04-22T11:17:09.560177Z",
     "start_time": "2020-04-22T11:17:09.549205Z"
    }
   },
   "outputs": [],
   "source": [
    "# B-1 准备base url、params、response.json（） \n",
    "def walking(origin,destination,sig=None)->dict:\n",
    "    url = 'https://restapi.amap.com/v3/direction/walking?parameters'\n",
    "    params={\n",
    "        'key':key_zyi,\n",
    "        'origin':origin,\n",
    "        'destination':destination,\n",
    "        'output':'json'\n",
    "    }\n",
    "    response = requests.get(url,params=params)\n",
    "    data = response.json()\n",
    "    return data"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "#### B-2 准备walking 参数\n",
    "\n",
    "请同学们尝试从A-3细节中获取的某两个教学楼的location，尝试步行路径规划（起点）🙅----->（终点）🙅‍"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 11,
   "metadata": {
    "ExecuteTime": {
     "end_time": "2020-04-22T11:17:10.096176Z",
     "start_time": "2020-04-22T11:17:09.915759Z"
    }
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "(起点)泰禾_location: 119.336798,26.090101 (终点)鼓山_location: 119.375105,26.053205\n"
     ]
    }
   ],
   "source": [
    "# B-2 准备walking 参数\n",
    "鼓山 = geocode('福建省福州市鼓山')\n",
    "# print(三坊七巷)\n",
    "鼓山_location = 鼓山['geocodes'][0]['location']\n",
    "泰禾_location = 泰禾['geocodes'][0]['location']\n",
    "print(\"(起点)泰禾_location:\",泰禾_location,\"(终点)鼓山_location:\",鼓山_location)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "#### B-3 实现步行路径规划"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 12,
   "metadata": {
    "ExecuteTime": {
     "end_time": "2020-04-22T11:17:10.710602Z",
     "start_time": "2020-04-22T11:17:10.317990Z"
    }
   },
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>instruction</th>\n",
       "      <th>orientation</th>\n",
       "      <th>road</th>\n",
       "      <th>distance</th>\n",
       "      <th>duration</th>\n",
       "      <th>polyline</th>\n",
       "      <th>action</th>\n",
       "      <th>assistant_action</th>\n",
       "      <th>walk_type</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>步行13米右转</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>13</td>\n",
       "      <td>10</td>\n",
       "      <td>119.336775,26.089566;119.336784,26.089449</td>\n",
       "      <td>右转</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>步行190米左转</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>190</td>\n",
       "      <td>152</td>\n",
       "      <td>119.336784,26.089444;119.336337,26.089444;119....</td>\n",
       "      <td>左转</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>步行130米直行</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>130</td>\n",
       "      <td>104</td>\n",
       "      <td>119.335308,26.090161;119.335026,26.089978;119....</td>\n",
       "      <td>直行</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>步行34米向左前方行走</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>34</td>\n",
       "      <td>27</td>\n",
       "      <td>119.334492,26.089245;119.334392,26.088958</td>\n",
       "      <td>向左前方行走</td>\n",
       "      <td>[]</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>沿连江北路向南步行15米左转</td>\n",
       "      <td>南</td>\n",
       "      <td>连江北路</td>\n",
       "      <td>15</td>\n",
       "      <td>12</td>\n",
       "      <td>119.334388,26.088954;119.334423,26.088824</td>\n",
       "      <td>左转</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>步行43米右转</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>43</td>\n",
       "      <td>34</td>\n",
       "      <td>119.334423,26.088819;119.334805,26.088637</td>\n",
       "      <td>右转</td>\n",
       "      <td>[]</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>沿化工路步行61米直行</td>\n",
       "      <td>[]</td>\n",
       "      <td>化工路</td>\n",
       "      <td>61</td>\n",
       "      <td>49</td>\n",
       "      <td>119.334805,26.088633;119.334709,26.088511;119....</td>\n",
       "      <td>直行</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>沿连江北路向南步行464米</td>\n",
       "      <td>南</td>\n",
       "      <td>连江北路</td>\n",
       "      <td>464</td>\n",
       "      <td>371</td>\n",
       "      <td>119.33457,26.088116;119.334583,26.088008;119.3...</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>沿连江北路向南步行286米向左前方行走</td>\n",
       "      <td>南</td>\n",
       "      <td>连江北路</td>\n",
       "      <td>286</td>\n",
       "      <td>229</td>\n",
       "      <td>119.334705,26.083889;119.334753,26.083841;119....</td>\n",
       "      <td>向左前方行走</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>步行19米右转</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>19</td>\n",
       "      <td>15</td>\n",
       "      <td>119.334891,26.081389;119.335026,26.081272</td>\n",
       "      <td>右转</td>\n",
       "      <td>[]</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>沿福新东路步行50米向左前方行走</td>\n",
       "      <td>[]</td>\n",
       "      <td>福新东路</td>\n",
       "      <td>50</td>\n",
       "      <td>40</td>\n",
       "      <td>119.335026,26.081267;119.334987,26.081215;119....</td>\n",
       "      <td>向左前方行走</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>沿连江北路向南步行409米向左前方行走</td>\n",
       "      <td>南</td>\n",
       "      <td>连江北路</td>\n",
       "      <td>409</td>\n",
       "      <td>327</td>\n",
       "      <td>119.334935,26.08082;119.334944,26.08076;119.33...</td>\n",
       "      <td>向左前方行走</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>沿连江北路向南步行230米向左前方行走</td>\n",
       "      <td>南</td>\n",
       "      <td>连江北路</td>\n",
       "      <td>230</td>\n",
       "      <td>184</td>\n",
       "      <td>119.335065,26.077083;119.335165,26.076888;119....</td>\n",
       "      <td>向左前方行走</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>沿连江北路向东南步行34米向左前方行走</td>\n",
       "      <td>东南</td>\n",
       "      <td>连江北路</td>\n",
       "      <td>34</td>\n",
       "      <td>27</td>\n",
       "      <td>119.335317,26.075013;119.335386,26.074926;119....</td>\n",
       "      <td>向左前方行走</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>沿福马路向东步行333米向右前方行走</td>\n",
       "      <td>东</td>\n",
       "      <td>福马路</td>\n",
       "      <td>333</td>\n",
       "      <td>266</td>\n",
       "      <td>119.33556,26.074792;119.335799,26.074701;119.3...</td>\n",
       "      <td>向右前方行走</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>沿福马路向东南步行25米向左前方行走</td>\n",
       "      <td>东南</td>\n",
       "      <td>福马路</td>\n",
       "      <td>25</td>\n",
       "      <td>20</td>\n",
       "      <td>119.33885,26.074427;119.338928,26.074427;119.3...</td>\n",
       "      <td>向左前方行走</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>沿福马路向东步行124米向左前方行走</td>\n",
       "      <td>东</td>\n",
       "      <td>福马路</td>\n",
       "      <td>124</td>\n",
       "      <td>99</td>\n",
       "      <td>119.339071,26.074319;119.339401,26.074332;119....</td>\n",
       "      <td>向左前方行走</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>向东步行82米向左前方行走</td>\n",
       "      <td>东</td>\n",
       "      <td>[]</td>\n",
       "      <td>82</td>\n",
       "      <td>66</td>\n",
       "      <td>119.340312,26.074332;119.340438,26.074397;119....</td>\n",
       "      <td>向左前方行走</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>沿福马路向东步行1998米向左前方行走</td>\n",
       "      <td>东</td>\n",
       "      <td>福马路</td>\n",
       "      <td>1998</td>\n",
       "      <td>1598</td>\n",
       "      <td>119.341085,26.07431;119.341237,26.07431;119.34...</td>\n",
       "      <td>向左前方行走</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>步行13米右转</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>13</td>\n",
       "      <td>10</td>\n",
       "      <td>119.359909,26.068832;119.36003,26.068893</td>\n",
       "      <td>右转</td>\n",
       "      <td>[]</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>20</th>\n",
       "      <td>沿福光路向东南步行92米向右前方行走</td>\n",
       "      <td>东南</td>\n",
       "      <td>福光路</td>\n",
       "      <td>92</td>\n",
       "      <td>74</td>\n",
       "      <td>119.36003,26.068893;119.360174,26.068707;119.3...</td>\n",
       "      <td>向右前方行走</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>21</th>\n",
       "      <td>沿福马路向东南步行1346米向右前方行走</td>\n",
       "      <td>东南</td>\n",
       "      <td>福马路</td>\n",
       "      <td>1346</td>\n",
       "      <td>1077</td>\n",
       "      <td>119.360664,26.068294;119.360859,26.06816;119.3...</td>\n",
       "      <td>向右前方行走</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>22</th>\n",
       "      <td>沿东三环路向西南步行10米左转</td>\n",
       "      <td>西南</td>\n",
       "      <td>东三环路</td>\n",
       "      <td>10</td>\n",
       "      <td>8</td>\n",
       "      <td>119.371159,26.060564;119.371111,26.060486</td>\n",
       "      <td>左转</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>23</th>\n",
       "      <td>沿福马路向东南步行513米</td>\n",
       "      <td>东南</td>\n",
       "      <td>福马路</td>\n",
       "      <td>513</td>\n",
       "      <td>410</td>\n",
       "      <td>119.371107,26.060482;119.371189,26.060391;119....</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>24</th>\n",
       "      <td>沿福马路向南步行204米左转</td>\n",
       "      <td>南</td>\n",
       "      <td>福马路</td>\n",
       "      <td>204</td>\n",
       "      <td>163</td>\n",
       "      <td>119.37355,26.056393;119.373563,26.056224;119.3...</td>\n",
       "      <td>左转</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>25</th>\n",
       "      <td>向东步行27米右转</td>\n",
       "      <td>东</td>\n",
       "      <td>[]</td>\n",
       "      <td>27</td>\n",
       "      <td>22</td>\n",
       "      <td>119.374054,26.054609;119.374319,26.054653</td>\n",
       "      <td>右转</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>26</th>\n",
       "      <td>沿福马路向南步行165米左转</td>\n",
       "      <td>南</td>\n",
       "      <td>福马路</td>\n",
       "      <td>165</td>\n",
       "      <td>132</td>\n",
       "      <td>119.374319,26.054653;119.37434,26.054523;119.3...</td>\n",
       "      <td>左转</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>27</th>\n",
       "      <td>向东步行49米到达目的地</td>\n",
       "      <td>东</td>\n",
       "      <td>[]</td>\n",
       "      <td>49</td>\n",
       "      <td>39</td>\n",
       "      <td>119.374609,26.053173;119.375095,26.053238</td>\n",
       "      <td>[]</td>\n",
       "      <td>到达目的地</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "             instruction orientation  road distance duration  \\\n",
       "0                步行13米右转          []    []       13       10   \n",
       "1               步行190米左转          []    []      190      152   \n",
       "2               步行130米直行          []    []      130      104   \n",
       "3            步行34米向左前方行走          []    []       34       27   \n",
       "4         沿连江北路向南步行15米左转           南  连江北路       15       12   \n",
       "5                步行43米右转          []    []       43       34   \n",
       "6            沿化工路步行61米直行          []   化工路       61       49   \n",
       "7          沿连江北路向南步行464米           南  连江北路      464      371   \n",
       "8    沿连江北路向南步行286米向左前方行走           南  连江北路      286      229   \n",
       "9                步行19米右转          []    []       19       15   \n",
       "10      沿福新东路步行50米向左前方行走          []  福新东路       50       40   \n",
       "11   沿连江北路向南步行409米向左前方行走           南  连江北路      409      327   \n",
       "12   沿连江北路向南步行230米向左前方行走           南  连江北路      230      184   \n",
       "13   沿连江北路向东南步行34米向左前方行走          东南  连江北路       34       27   \n",
       "14    沿福马路向东步行333米向右前方行走           东   福马路      333      266   \n",
       "15    沿福马路向东南步行25米向左前方行走          东南   福马路       25       20   \n",
       "16    沿福马路向东步行124米向左前方行走           东   福马路      124       99   \n",
       "17         向东步行82米向左前方行走           东    []       82       66   \n",
       "18   沿福马路向东步行1998米向左前方行走           东   福马路     1998     1598   \n",
       "19               步行13米右转          []    []       13       10   \n",
       "20    沿福光路向东南步行92米向右前方行走          东南   福光路       92       74   \n",
       "21  沿福马路向东南步行1346米向右前方行走          东南   福马路     1346     1077   \n",
       "22       沿东三环路向西南步行10米左转          西南  东三环路       10        8   \n",
       "23         沿福马路向东南步行513米          东南   福马路      513      410   \n",
       "24        沿福马路向南步行204米左转           南   福马路      204      163   \n",
       "25             向东步行27米右转           东    []       27       22   \n",
       "26        沿福马路向南步行165米左转           南   福马路      165      132   \n",
       "27          向东步行49米到达目的地           东    []       49       39   \n",
       "\n",
       "                                             polyline  action  \\\n",
       "0           119.336775,26.089566;119.336784,26.089449      右转   \n",
       "1   119.336784,26.089444;119.336337,26.089444;119....      左转   \n",
       "2   119.335308,26.090161;119.335026,26.089978;119....      直行   \n",
       "3           119.334492,26.089245;119.334392,26.088958  向左前方行走   \n",
       "4           119.334388,26.088954;119.334423,26.088824      左转   \n",
       "5           119.334423,26.088819;119.334805,26.088637      右转   \n",
       "6   119.334805,26.088633;119.334709,26.088511;119....      直行   \n",
       "7   119.33457,26.088116;119.334583,26.088008;119.3...      []   \n",
       "8   119.334705,26.083889;119.334753,26.083841;119....  向左前方行走   \n",
       "9           119.334891,26.081389;119.335026,26.081272      右转   \n",
       "10  119.335026,26.081267;119.334987,26.081215;119....  向左前方行走   \n",
       "11  119.334935,26.08082;119.334944,26.08076;119.33...  向左前方行走   \n",
       "12  119.335065,26.077083;119.335165,26.076888;119....  向左前方行走   \n",
       "13  119.335317,26.075013;119.335386,26.074926;119....  向左前方行走   \n",
       "14  119.33556,26.074792;119.335799,26.074701;119.3...  向右前方行走   \n",
       "15  119.33885,26.074427;119.338928,26.074427;119.3...  向左前方行走   \n",
       "16  119.339071,26.074319;119.339401,26.074332;119....  向左前方行走   \n",
       "17  119.340312,26.074332;119.340438,26.074397;119....  向左前方行走   \n",
       "18  119.341085,26.07431;119.341237,26.07431;119.34...  向左前方行走   \n",
       "19           119.359909,26.068832;119.36003,26.068893      右转   \n",
       "20  119.36003,26.068893;119.360174,26.068707;119.3...  向右前方行走   \n",
       "21  119.360664,26.068294;119.360859,26.06816;119.3...  向右前方行走   \n",
       "22          119.371159,26.060564;119.371111,26.060486      左转   \n",
       "23  119.371107,26.060482;119.371189,26.060391;119....      []   \n",
       "24  119.37355,26.056393;119.373563,26.056224;119.3...      左转   \n",
       "25          119.374054,26.054609;119.374319,26.054653      右转   \n",
       "26  119.374319,26.054653;119.37434,26.054523;119.3...      左转   \n",
       "27          119.374609,26.053173;119.375095,26.053238      []   \n",
       "\n",
       "   assistant_action walk_type  \n",
       "0                []         0  \n",
       "1                []         0  \n",
       "2                []         0  \n",
       "3                []         1  \n",
       "4                []         0  \n",
       "5                []         1  \n",
       "6                []         0  \n",
       "7                []         0  \n",
       "8                []         0  \n",
       "9                []         1  \n",
       "10               []         0  \n",
       "11               []         0  \n",
       "12               []         0  \n",
       "13               []         0  \n",
       "14               []         0  \n",
       "15               []         0  \n",
       "16               []         0  \n",
       "17               []         0  \n",
       "18               []         0  \n",
       "19               []         1  \n",
       "20               []         0  \n",
       "21               []         0  \n",
       "22               []         0  \n",
       "23               []         0  \n",
       "24               []         0  \n",
       "25               []         0  \n",
       "26               []         0  \n",
       "27            到达目的地         0  "
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/plain": [
       "0                  步行13米右转\n",
       "1                 步行190米左转\n",
       "2                 步行130米直行\n",
       "3              步行34米向左前方行走\n",
       "4           沿连江北路向南步行15米左转\n",
       "5                  步行43米右转\n",
       "6              沿化工路步行61米直行\n",
       "7            沿连江北路向南步行464米\n",
       "8      沿连江北路向南步行286米向左前方行走\n",
       "9                  步行19米右转\n",
       "10        沿福新东路步行50米向左前方行走\n",
       "11     沿连江北路向南步行409米向左前方行走\n",
       "12     沿连江北路向南步行230米向左前方行走\n",
       "13     沿连江北路向东南步行34米向左前方行走\n",
       "14      沿福马路向东步行333米向右前方行走\n",
       "15      沿福马路向东南步行25米向左前方行走\n",
       "16      沿福马路向东步行124米向左前方行走\n",
       "17           向东步行82米向左前方行走\n",
       "18     沿福马路向东步行1998米向左前方行走\n",
       "19                 步行13米右转\n",
       "20      沿福光路向东南步行92米向右前方行走\n",
       "21    沿福马路向东南步行1346米向右前方行走\n",
       "22         沿东三环路向西南步行10米左转\n",
       "23           沿福马路向东南步行513米\n",
       "24          沿福马路向南步行204米左转\n",
       "25               向东步行27米右转\n",
       "26          沿福马路向南步行165米左转\n",
       "27            向东步行49米到达目的地\n",
       "Name: instruction, dtype: object"
      ]
     },
     "execution_count": 12,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# B-3 路径规划\n",
    "泰禾_鼓山 = walking(泰禾_location,鼓山_location)\n",
    "# print(泰禾_三坊七巷)\n",
    "df_步行路径规划 = pd.json_normalize(泰禾_鼓山[\"route\"][\"paths\"][0]['steps'])\n",
    "display(df_步行路径规划)\n",
    "df_步行路径规划[\"instruction\"]"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "#### 学生练习（请换用其他地址满足以下要求）\n",
    "\n",
    "1. 请更换地址，选择尽量含有walk_type参数，并查看高德是否返回正确\n",
    "2. 尝试不同的地址，检查返回的json\n",
    "\n",
    "\n",
    "![](lianxi02.png)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### 公交路线规划（代码C）\n",
    "\n",
    "1. 请同学们细读可使用的参数\n",
    "2. 尝试更改参数带到你想要的目标"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 13,
   "metadata": {
    "ExecuteTime": {
     "end_time": "2020-04-22T11:17:12.912068Z",
     "start_time": "2020-04-22T11:17:10.850622Z"
    }
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "(起点)三坊七巷_location: 119.296444,26.083775 (终点)宝龙_location: 119.291473,26.061611\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>status</th>\n",
       "      <th>info</th>\n",
       "      <th>infocode</th>\n",
       "      <th>count</th>\n",
       "      <th>route.origin</th>\n",
       "      <th>route.destination</th>\n",
       "      <th>route.distance</th>\n",
       "      <th>route.taxi_cost</th>\n",
       "      <th>route.transits</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>1</td>\n",
       "      <td>OK</td>\n",
       "      <td>10000</td>\n",
       "      <td>5</td>\n",
       "      <td>119.296444,26.083775</td>\n",
       "      <td>119.291473,26.061611</td>\n",
       "      <td>2763</td>\n",
       "      <td>10.0</td>\n",
       "      <td>[{'cost': '2.0', 'duration': '1988', 'nightfla...</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "  status info infocode count          route.origin     route.destination  \\\n",
       "0      1   OK    10000     5  119.296444,26.083775  119.291473,26.061611   \n",
       "\n",
       "  route.distance route.taxi_cost  \\\n",
       "0           2763            10.0   \n",
       "\n",
       "                                      route.transits  \n",
       "0  [{'cost': '2.0', 'duration': '1988', 'nightfla...  "
      ]
     },
     "execution_count": 13,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# C-1\n",
    "def integrated(origin,destination,city,cityd=None,extensions='base',strategy=None,nightflag=0,date=None,time=None,sig=None)->dict:\n",
    "    url = 'https://restapi.amap.com/v3/direction/transit/integrated?parameters'\n",
    "    params={\n",
    "        'key':key_zyi,\n",
    "        'origin':origin,\n",
    "        'destination':destination,\n",
    "        'city':city,\n",
    "        'cityd':cityd,\n",
    "        'extensions':extensions,\n",
    "        'strategy':strategy,\n",
    "        'nightflag':nightflag,\n",
    "        'date':date,\n",
    "        'output':'json'\n",
    "    }\n",
    "    response = requests.get(url,params=params)\n",
    "    data = response.json()\n",
    "    return data\n",
    "\n",
    "# C-2 准备walking 参数\n",
    "三坊七巷 = geocode('福建省福州市三坊七巷')\n",
    "三坊七巷_location = 三坊七巷['geocodes'][0]['location']\n",
    "宝龙 = geocode('福建省福州市宝龙城市广场')\n",
    "宝龙_location = 宝龙['geocodes'][0]['location']\n",
    "print(\"(起点)三坊七巷_location:\",三坊七巷_location,\"(终点)宝龙_location:\",宝龙_location)\n",
    "\n",
    "# C-3 公交路径规划\n",
    "三坊七巷_宝龙 = integrated(三坊七巷_location,宝龙_location,city='福州',extensions='all')\n",
    "df_bus = pd.json_normalize(三坊七巷_宝龙)\n",
    "df_bus"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 14,
   "metadata": {
    "ExecuteTime": {
     "end_time": "2020-04-22T11:17:12.941988Z",
     "start_time": "2020-04-22T11:17:12.913065Z"
    }
   },
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>cost</th>\n",
       "      <th>duration</th>\n",
       "      <th>nightflag</th>\n",
       "      <th>walking_distance</th>\n",
       "      <th>distance</th>\n",
       "      <th>missed</th>\n",
       "      <th>segments</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>2.0</td>\n",
       "      <td>1988</td>\n",
       "      <td>0</td>\n",
       "      <td>1840</td>\n",
       "      <td>4100</td>\n",
       "      <td>0</td>\n",
       "      <td>[{'taxi': [], 'walking': {'origin': '119.29655...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>2.0</td>\n",
       "      <td>1975</td>\n",
       "      <td>0</td>\n",
       "      <td>1452</td>\n",
       "      <td>4597</td>\n",
       "      <td>0</td>\n",
       "      <td>[{'taxi': [], 'walking': {'origin': '119.29655...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>1.0</td>\n",
       "      <td>2511</td>\n",
       "      <td>0</td>\n",
       "      <td>911</td>\n",
       "      <td>4294</td>\n",
       "      <td>0</td>\n",
       "      <td>[{'taxi': [], 'walking': {'origin': '119.29652...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>1.0</td>\n",
       "      <td>2475</td>\n",
       "      <td>0</td>\n",
       "      <td>949</td>\n",
       "      <td>4142</td>\n",
       "      <td>0</td>\n",
       "      <td>[{'taxi': [], 'walking': {'origin': '119.29655...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>3.0</td>\n",
       "      <td>2441</td>\n",
       "      <td>0</td>\n",
       "      <td>1291</td>\n",
       "      <td>4298</td>\n",
       "      <td>0</td>\n",
       "      <td>[{'taxi': [], 'walking': {'origin': '119.29655...</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "  cost duration nightflag walking_distance distance missed  \\\n",
       "0  2.0     1988         0             1840     4100      0   \n",
       "1  2.0     1975         0             1452     4597      0   \n",
       "2  1.0     2511         0              911     4294      0   \n",
       "3  1.0     2475         0              949     4142      0   \n",
       "4  3.0     2441         0             1291     4298      0   \n",
       "\n",
       "                                            segments  \n",
       "0  [{'taxi': [], 'walking': {'origin': '119.29655...  \n",
       "1  [{'taxi': [], 'walking': {'origin': '119.29655...  \n",
       "2  [{'taxi': [], 'walking': {'origin': '119.29652...  \n",
       "3  [{'taxi': [], 'walking': {'origin': '119.29655...  \n",
       "4  [{'taxi': [], 'walking': {'origin': '119.29655...  "
      ]
     },
     "execution_count": 14,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "pd.json_normalize(三坊七巷_宝龙[\"route\"]['transits'])"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 15,
   "metadata": {
    "ExecuteTime": {
     "end_time": "2020-04-22T11:17:12.972938Z",
     "start_time": "2020-04-22T11:17:12.942985Z"
    }
   },
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>taxi</th>\n",
       "      <th>walking.origin</th>\n",
       "      <th>walking.destination</th>\n",
       "      <th>walking.distance</th>\n",
       "      <th>walking.duration</th>\n",
       "      <th>walking.steps</th>\n",
       "      <th>bus.buslines</th>\n",
       "      <th>entrance.name</th>\n",
       "      <th>entrance.location</th>\n",
       "      <th>exit.name</th>\n",
       "      <th>exit.location</th>\n",
       "      <th>railway.via_stops</th>\n",
       "      <th>railway.alters</th>\n",
       "      <th>railway.spaces</th>\n",
       "      <th>entrance</th>\n",
       "      <th>exit</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>[]</td>\n",
       "      <td>119.296555,26.083797</td>\n",
       "      <td>119.302925,26.076246</td>\n",
       "      <td>1314</td>\n",
       "      <td>1126</td>\n",
       "      <td>[{'instruction': '沿南后街步行街步行40米左转', 'road': '南后...</td>\n",
       "      <td>[{'departure_stop': {'name': '南门兜', 'id': '350...</td>\n",
       "      <td>A1西北口</td>\n",
       "      <td>119.301178,26.078424</td>\n",
       "      <td>C口</td>\n",
       "      <td>119.293015,26.062105</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>[]</td>\n",
       "      <td>119.293343,26.062643</td>\n",
       "      <td>119.291473,26.060925</td>\n",
       "      <td>526</td>\n",
       "      <td>450</td>\n",
       "      <td>[{'instruction': '步行106米右转', 'road': [], 'dist...</td>\n",
       "      <td>[]</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "  taxi        walking.origin   walking.destination walking.distance  \\\n",
       "0   []  119.296555,26.083797  119.302925,26.076246             1314   \n",
       "1   []  119.293343,26.062643  119.291473,26.060925              526   \n",
       "\n",
       "  walking.duration                                      walking.steps  \\\n",
       "0             1126  [{'instruction': '沿南后街步行街步行40米左转', 'road': '南后...   \n",
       "1              450  [{'instruction': '步行106米右转', 'road': [], 'dist...   \n",
       "\n",
       "                                        bus.buslines entrance.name  \\\n",
       "0  [{'departure_stop': {'name': '南门兜', 'id': '350...         A1西北口   \n",
       "1                                                 []           NaN   \n",
       "\n",
       "      entrance.location exit.name         exit.location railway.via_stops  \\\n",
       "0  119.301178,26.078424        C口  119.293015,26.062105                []   \n",
       "1                   NaN       NaN                   NaN                []   \n",
       "\n",
       "  railway.alters railway.spaces entrance exit  \n",
       "0             []             []      NaN  NaN  \n",
       "1             []             []       []   []  "
      ]
     },
     "execution_count": 15,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "pd.json_normalize(三坊七巷_宝龙[\"route\"]['transits'][0]['segments'])"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 16,
   "metadata": {
    "ExecuteTime": {
     "end_time": "2020-04-22T11:17:12.997872Z",
     "start_time": "2020-04-22T11:17:12.973901Z"
    }
   },
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>name</th>\n",
       "      <th>id</th>\n",
       "      <th>type</th>\n",
       "      <th>distance</th>\n",
       "      <th>duration</th>\n",
       "      <th>polyline</th>\n",
       "      <th>bustimetag</th>\n",
       "      <th>start_time</th>\n",
       "      <th>end_time</th>\n",
       "      <th>via_num</th>\n",
       "      <th>via_stops</th>\n",
       "      <th>departure_stop.name</th>\n",
       "      <th>departure_stop.id</th>\n",
       "      <th>departure_stop.location</th>\n",
       "      <th>arrival_stop.name</th>\n",
       "      <th>arrival_stop.id</th>\n",
       "      <th>arrival_stop.location</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>地铁2号线(洋里--苏洋)</td>\n",
       "      <td>350100020746</td>\n",
       "      <td>地铁线路</td>\n",
       "      <td>2260</td>\n",
       "      <td>411</td>\n",
       "      <td>119.302927,26.076249;119.301900,26.076246;119....</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>1</td>\n",
       "      <td>[{'name': '西洋', 'id': '350100020746010', 'loca...</td>\n",
       "      <td>南门兜</td>\n",
       "      <td>350100020746009</td>\n",
       "      <td>119.302927,26.076249</td>\n",
       "      <td>宁化</td>\n",
       "      <td>350100020746011</td>\n",
       "      <td>119.293343,26.062650</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "            name            id  type distance duration  \\\n",
       "0  地铁2号线(洋里--苏洋)  350100020746  地铁线路     2260      411   \n",
       "\n",
       "                                            polyline bustimetag start_time  \\\n",
       "0  119.302927,26.076249;119.301900,26.076246;119....          0         []   \n",
       "\n",
       "  end_time via_num                                          via_stops  \\\n",
       "0       []       1  [{'name': '西洋', 'id': '350100020746010', 'loca...   \n",
       "\n",
       "  departure_stop.name departure_stop.id departure_stop.location  \\\n",
       "0                 南门兜   350100020746009    119.302927,26.076249   \n",
       "\n",
       "  arrival_stop.name  arrival_stop.id arrival_stop.location  \n",
       "0                宁化  350100020746011  119.293343,26.062650  "
      ]
     },
     "execution_count": 16,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# print(三坊七巷_宝龙)\n",
    "df_bus_基本信息 = pd.json_normalize(三坊七巷_宝龙[\"route\"]['transits'][0]['segments'][0]['bus'][\"buslines\"])\n",
    "df_bus_基本信息"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 17,
   "metadata": {
    "ExecuteTime": {
     "end_time": "2020-04-22T11:17:13.018300Z",
     "start_time": "2020-04-22T11:17:12.998836Z"
    }
   },
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>_27路公交车</th>\n",
       "      <th>id</th>\n",
       "      <th>location</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>光禄坊</td>\n",
       "      <td>900000107419002</td>\n",
       "      <td>119.295135,26.077332</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>乌山小学</td>\n",
       "      <td>900000107419003</td>\n",
       "      <td>119.291237,26.073561</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>小柳路南</td>\n",
       "      <td>900000107419004</td>\n",
       "      <td>119.289474,26.072245</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>乌山桥西</td>\n",
       "      <td>900000107419005</td>\n",
       "      <td>119.286728,26.072208</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>市教院附中</td>\n",
       "      <td>900000107419006</td>\n",
       "      <td>119.286438,26.069271</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "  _27路公交车               id              location\n",
       "0     光禄坊  900000107419002  119.295135,26.077332\n",
       "1    乌山小学  900000107419003  119.291237,26.073561\n",
       "2    小柳路南  900000107419004  119.289474,26.072245\n",
       "3    乌山桥西  900000107419005  119.286728,26.072208\n",
       "4   市教院附中  900000107419006  119.286438,26.069271"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "Empty DataFrame\n",
       "Columns: []\n",
       "Index: []"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "# C-4 公交车信息处理结果\n",
    "_27路公交车 = pd.json_normalize(三坊七巷_宝龙[\"route\"]['transits'][3]['segments'][0]['bus'][\"buslines\"][0][\"via_stops\"]).rename(columns={\"name\":\"_27路公交车\"})\n",
    "_339路公交车 = pd.json_normalize(三坊七巷_宝龙[\"route\"]['transits'][4]['segments'][0]['bus'][\"buslines\"][0][\"via_stops\"]).rename(columns={\"name\":\"_339路公交车\"})\n",
    "display(_27路公交车,_339路公交车)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 行政区域查询（代码D）\n",
    "**我认为行政区域查询不具备ML、AI的功能的**"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 18,
   "metadata": {
    "ExecuteTime": {
     "end_time": "2020-04-22T11:17:14.029083Z",
     "start_time": "2020-04-22T11:17:13.020289Z"
    }
   },
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>citycode</th>\n",
       "      <th>adcode</th>\n",
       "      <th>name</th>\n",
       "      <th>center</th>\n",
       "      <th>level</th>\n",
       "      <th>districts</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>0758</td>\n",
       "      <td>441200</td>\n",
       "      <td>肇庆市</td>\n",
       "      <td>112.472529,23.051546</td>\n",
       "      <td>city</td>\n",
       "      <td>[{'citycode': '0758', 'adcode': '441224', 'nam...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>0757</td>\n",
       "      <td>440600</td>\n",
       "      <td>佛山市</td>\n",
       "      <td>113.122717,23.028762</td>\n",
       "      <td>city</td>\n",
       "      <td>[{'citycode': '0757', 'adcode': '440607', 'nam...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>0754</td>\n",
       "      <td>440500</td>\n",
       "      <td>汕头市</td>\n",
       "      <td>116.708463,23.37102</td>\n",
       "      <td>city</td>\n",
       "      <td>[{'citycode': '0754', 'adcode': '440513', 'nam...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>0752</td>\n",
       "      <td>441300</td>\n",
       "      <td>惠州市</td>\n",
       "      <td>114.412599,23.079404</td>\n",
       "      <td>city</td>\n",
       "      <td>[{'citycode': '0752', 'adcode': '441324', 'nam...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>0755</td>\n",
       "      <td>440300</td>\n",
       "      <td>深圳市</td>\n",
       "      <td>114.085947,22.547</td>\n",
       "      <td>city</td>\n",
       "      <td>[{'citycode': '0755', 'adcode': '440306', 'nam...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>0756</td>\n",
       "      <td>440400</td>\n",
       "      <td>珠海市</td>\n",
       "      <td>113.553986,22.224979</td>\n",
       "      <td>city</td>\n",
       "      <td>[{'citycode': '0756', 'adcode': '440402', 'nam...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>0759</td>\n",
       "      <td>440800</td>\n",
       "      <td>湛江市</td>\n",
       "      <td>110.364977,21.274898</td>\n",
       "      <td>city</td>\n",
       "      <td>[{'citycode': '0759', 'adcode': '440883', 'nam...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>0662</td>\n",
       "      <td>441700</td>\n",
       "      <td>阳江市</td>\n",
       "      <td>111.975107,21.859222</td>\n",
       "      <td>city</td>\n",
       "      <td>[{'citycode': '0662', 'adcode': '441781', 'nam...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>0660</td>\n",
       "      <td>441500</td>\n",
       "      <td>汕尾市</td>\n",
       "      <td>115.364238,22.774485</td>\n",
       "      <td>city</td>\n",
       "      <td>[{'citycode': '0660', 'adcode': '441523', 'nam...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>0768</td>\n",
       "      <td>445100</td>\n",
       "      <td>潮州市</td>\n",
       "      <td>116.632301,23.661701</td>\n",
       "      <td>city</td>\n",
       "      <td>[{'citycode': '0768', 'adcode': '445122', 'nam...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>0750</td>\n",
       "      <td>440700</td>\n",
       "      <td>江门市</td>\n",
       "      <td>113.094942,22.590431</td>\n",
       "      <td>city</td>\n",
       "      <td>[{'citycode': '0750', 'adcode': '440784', 'nam...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>0766</td>\n",
       "      <td>445300</td>\n",
       "      <td>云浮市</td>\n",
       "      <td>112.044439,22.929801</td>\n",
       "      <td>city</td>\n",
       "      <td>[{'citycode': '0766', 'adcode': '445322', 'nam...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>0767</td>\n",
       "      <td>442100</td>\n",
       "      <td>东沙群岛</td>\n",
       "      <td>116.887312,20.617512</td>\n",
       "      <td>city</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>0668</td>\n",
       "      <td>440900</td>\n",
       "      <td>茂名市</td>\n",
       "      <td>110.919229,21.659751</td>\n",
       "      <td>city</td>\n",
       "      <td>[{'citycode': '0668', 'adcode': '440983', 'nam...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>0762</td>\n",
       "      <td>441600</td>\n",
       "      <td>河源市</td>\n",
       "      <td>114.697802,23.746266</td>\n",
       "      <td>city</td>\n",
       "      <td>[{'citycode': '0762', 'adcode': '441622', 'nam...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>0753</td>\n",
       "      <td>441400</td>\n",
       "      <td>梅州市</td>\n",
       "      <td>116.117582,24.299112</td>\n",
       "      <td>city</td>\n",
       "      <td>[{'citycode': '0753', 'adcode': '441427', 'nam...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>0769</td>\n",
       "      <td>441900</td>\n",
       "      <td>东莞市</td>\n",
       "      <td>113.746262,23.046237</td>\n",
       "      <td>city</td>\n",
       "      <td>[{'citycode': '0769', 'adcode': '441900', 'nam...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>0663</td>\n",
       "      <td>445200</td>\n",
       "      <td>揭阳市</td>\n",
       "      <td>116.355733,23.543778</td>\n",
       "      <td>city</td>\n",
       "      <td>[{'citycode': '0663', 'adcode': '445222', 'nam...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>0763</td>\n",
       "      <td>441800</td>\n",
       "      <td>清远市</td>\n",
       "      <td>113.051227,23.685022</td>\n",
       "      <td>city</td>\n",
       "      <td>[{'citycode': '0763', 'adcode': '441882', 'nam...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>0751</td>\n",
       "      <td>440200</td>\n",
       "      <td>韶关市</td>\n",
       "      <td>113.591544,24.801322</td>\n",
       "      <td>city</td>\n",
       "      <td>[{'citycode': '0751', 'adcode': '440282', 'nam...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>20</th>\n",
       "      <td>020</td>\n",
       "      <td>440100</td>\n",
       "      <td>广州市</td>\n",
       "      <td>113.280637,23.125178</td>\n",
       "      <td>city</td>\n",
       "      <td>[{'citycode': '020', 'adcode': '440117', 'name...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>21</th>\n",
       "      <td>0760</td>\n",
       "      <td>442000</td>\n",
       "      <td>中山市</td>\n",
       "      <td>113.382391,22.521113</td>\n",
       "      <td>city</td>\n",
       "      <td>[{'citycode': '0760', 'adcode': '442000', 'nam...</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "   citycode  adcode  name                center level  \\\n",
       "0      0758  441200   肇庆市  112.472529,23.051546  city   \n",
       "1      0757  440600   佛山市  113.122717,23.028762  city   \n",
       "2      0754  440500   汕头市   116.708463,23.37102  city   \n",
       "3      0752  441300   惠州市  114.412599,23.079404  city   \n",
       "4      0755  440300   深圳市     114.085947,22.547  city   \n",
       "5      0756  440400   珠海市  113.553986,22.224979  city   \n",
       "6      0759  440800   湛江市  110.364977,21.274898  city   \n",
       "7      0662  441700   阳江市  111.975107,21.859222  city   \n",
       "8      0660  441500   汕尾市  115.364238,22.774485  city   \n",
       "9      0768  445100   潮州市  116.632301,23.661701  city   \n",
       "10     0750  440700   江门市  113.094942,22.590431  city   \n",
       "11     0766  445300   云浮市  112.044439,22.929801  city   \n",
       "12     0767  442100  东沙群岛  116.887312,20.617512  city   \n",
       "13     0668  440900   茂名市  110.919229,21.659751  city   \n",
       "14     0762  441600   河源市  114.697802,23.746266  city   \n",
       "15     0753  441400   梅州市  116.117582,24.299112  city   \n",
       "16     0769  441900   东莞市  113.746262,23.046237  city   \n",
       "17     0663  445200   揭阳市  116.355733,23.543778  city   \n",
       "18     0763  441800   清远市  113.051227,23.685022  city   \n",
       "19     0751  440200   韶关市  113.591544,24.801322  city   \n",
       "20      020  440100   广州市  113.280637,23.125178  city   \n",
       "21     0760  442000   中山市  113.382391,22.521113  city   \n",
       "\n",
       "                                            districts  \n",
       "0   [{'citycode': '0758', 'adcode': '441224', 'nam...  \n",
       "1   [{'citycode': '0757', 'adcode': '440607', 'nam...  \n",
       "2   [{'citycode': '0754', 'adcode': '440513', 'nam...  \n",
       "3   [{'citycode': '0752', 'adcode': '441324', 'nam...  \n",
       "4   [{'citycode': '0755', 'adcode': '440306', 'nam...  \n",
       "5   [{'citycode': '0756', 'adcode': '440402', 'nam...  \n",
       "6   [{'citycode': '0759', 'adcode': '440883', 'nam...  \n",
       "7   [{'citycode': '0662', 'adcode': '441781', 'nam...  \n",
       "8   [{'citycode': '0660', 'adcode': '441523', 'nam...  \n",
       "9   [{'citycode': '0768', 'adcode': '445122', 'nam...  \n",
       "10  [{'citycode': '0750', 'adcode': '440784', 'nam...  \n",
       "11  [{'citycode': '0766', 'adcode': '445322', 'nam...  \n",
       "12                                                 []  \n",
       "13  [{'citycode': '0668', 'adcode': '440983', 'nam...  \n",
       "14  [{'citycode': '0762', 'adcode': '441622', 'nam...  \n",
       "15  [{'citycode': '0753', 'adcode': '441427', 'nam...  \n",
       "16  [{'citycode': '0769', 'adcode': '441900', 'nam...  \n",
       "17  [{'citycode': '0663', 'adcode': '445222', 'nam...  \n",
       "18  [{'citycode': '0763', 'adcode': '441882', 'nam...  \n",
       "19  [{'citycode': '0751', 'adcode': '440282', 'nam...  \n",
       "20  [{'citycode': '020', 'adcode': '440117', 'name...  \n",
       "21  [{'citycode': '0760', 'adcode': '442000', 'nam...  "
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>citycode</th>\n",
       "      <th>adcode</th>\n",
       "      <th>name</th>\n",
       "      <th>center</th>\n",
       "      <th>level</th>\n",
       "      <th>districts</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>020</td>\n",
       "      <td>440117</td>\n",
       "      <td>从化区</td>\n",
       "      <td>113.587386,23.545283</td>\n",
       "      <td>district</td>\n",
       "      <td>[{'citycode': '020', 'adcode': '440117', 'name...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>020</td>\n",
       "      <td>440115</td>\n",
       "      <td>南沙区</td>\n",
       "      <td>113.53738,22.794531</td>\n",
       "      <td>district</td>\n",
       "      <td>[{'citycode': '020', 'adcode': '440115', 'name...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>020</td>\n",
       "      <td>440114</td>\n",
       "      <td>花都区</td>\n",
       "      <td>113.211184,23.39205</td>\n",
       "      <td>district</td>\n",
       "      <td>[{'citycode': '020', 'adcode': '440114', 'name...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>020</td>\n",
       "      <td>440113</td>\n",
       "      <td>番禺区</td>\n",
       "      <td>113.364619,22.938582</td>\n",
       "      <td>district</td>\n",
       "      <td>[{'citycode': '020', 'adcode': '440113', 'name...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>020</td>\n",
       "      <td>440103</td>\n",
       "      <td>荔湾区</td>\n",
       "      <td>113.243038,23.124943</td>\n",
       "      <td>district</td>\n",
       "      <td>[{'citycode': '020', 'adcode': '440103', 'name...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>020</td>\n",
       "      <td>440105</td>\n",
       "      <td>海珠区</td>\n",
       "      <td>113.262008,23.103131</td>\n",
       "      <td>district</td>\n",
       "      <td>[{'citycode': '020', 'adcode': '440105', 'name...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>020</td>\n",
       "      <td>440111</td>\n",
       "      <td>白云区</td>\n",
       "      <td>113.262831,23.162281</td>\n",
       "      <td>district</td>\n",
       "      <td>[{'citycode': '020', 'adcode': '440111', 'name...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>020</td>\n",
       "      <td>440118</td>\n",
       "      <td>增城区</td>\n",
       "      <td>113.829579,23.290497</td>\n",
       "      <td>district</td>\n",
       "      <td>[{'citycode': '020', 'adcode': '440118', 'name...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>020</td>\n",
       "      <td>440112</td>\n",
       "      <td>黄埔区</td>\n",
       "      <td>113.450761,23.103239</td>\n",
       "      <td>district</td>\n",
       "      <td>[{'citycode': '020', 'adcode': '440112', 'name...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>020</td>\n",
       "      <td>440106</td>\n",
       "      <td>天河区</td>\n",
       "      <td>113.335367,23.13559</td>\n",
       "      <td>district</td>\n",
       "      <td>[{'citycode': '020', 'adcode': '440106', 'name...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>020</td>\n",
       "      <td>440104</td>\n",
       "      <td>越秀区</td>\n",
       "      <td>113.280714,23.125624</td>\n",
       "      <td>district</td>\n",
       "      <td>[{'citycode': '020', 'adcode': '440104', 'name...</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "   citycode  adcode name                center     level  \\\n",
       "0       020  440117  从化区  113.587386,23.545283  district   \n",
       "1       020  440115  南沙区   113.53738,22.794531  district   \n",
       "2       020  440114  花都区   113.211184,23.39205  district   \n",
       "3       020  440113  番禺区  113.364619,22.938582  district   \n",
       "4       020  440103  荔湾区  113.243038,23.124943  district   \n",
       "5       020  440105  海珠区  113.262008,23.103131  district   \n",
       "6       020  440111  白云区  113.262831,23.162281  district   \n",
       "7       020  440118  增城区  113.829579,23.290497  district   \n",
       "8       020  440112  黄埔区  113.450761,23.103239  district   \n",
       "9       020  440106  天河区   113.335367,23.13559  district   \n",
       "10      020  440104  越秀区  113.280714,23.125624  district   \n",
       "\n",
       "                                            districts  \n",
       "0   [{'citycode': '020', 'adcode': '440117', 'name...  \n",
       "1   [{'citycode': '020', 'adcode': '440115', 'name...  \n",
       "2   [{'citycode': '020', 'adcode': '440114', 'name...  \n",
       "3   [{'citycode': '020', 'adcode': '440113', 'name...  \n",
       "4   [{'citycode': '020', 'adcode': '440103', 'name...  \n",
       "5   [{'citycode': '020', 'adcode': '440105', 'name...  \n",
       "6   [{'citycode': '020', 'adcode': '440111', 'name...  \n",
       "7   [{'citycode': '020', 'adcode': '440118', 'name...  \n",
       "8   [{'citycode': '020', 'adcode': '440112', 'name...  \n",
       "9   [{'citycode': '020', 'adcode': '440106', 'name...  \n",
       "10  [{'citycode': '020', 'adcode': '440104', 'name...  "
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>citycode</th>\n",
       "      <th>adcode</th>\n",
       "      <th>name</th>\n",
       "      <th>center</th>\n",
       "      <th>level</th>\n",
       "      <th>districts</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>020</td>\n",
       "      <td>440117</td>\n",
       "      <td>江埔街道</td>\n",
       "      <td>113.583,23.5107</td>\n",
       "      <td>street</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>020</td>\n",
       "      <td>440117</td>\n",
       "      <td>城郊街道</td>\n",
       "      <td>113.519,23.6542</td>\n",
       "      <td>street</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>020</td>\n",
       "      <td>440117</td>\n",
       "      <td>街口街道</td>\n",
       "      <td>113.581,23.5096</td>\n",
       "      <td>street</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>020</td>\n",
       "      <td>440117</td>\n",
       "      <td>吕田镇</td>\n",
       "      <td>113.853,23.8471</td>\n",
       "      <td>street</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>020</td>\n",
       "      <td>440117</td>\n",
       "      <td>流溪河林场</td>\n",
       "      <td>113.844,23.8201</td>\n",
       "      <td>street</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>020</td>\n",
       "      <td>440117</td>\n",
       "      <td>良口镇</td>\n",
       "      <td>113.793,23.8184</td>\n",
       "      <td>street</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>020</td>\n",
       "      <td>440117</td>\n",
       "      <td>黄龙带水库管理处</td>\n",
       "      <td>113.718,23.8369</td>\n",
       "      <td>street</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>020</td>\n",
       "      <td>440117</td>\n",
       "      <td>鳌头镇</td>\n",
       "      <td>113.517,23.5497</td>\n",
       "      <td>street</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>020</td>\n",
       "      <td>440117</td>\n",
       "      <td>太平镇</td>\n",
       "      <td>113.457,23.4819</td>\n",
       "      <td>street</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>020</td>\n",
       "      <td>440117</td>\n",
       "      <td>大岭山林场</td>\n",
       "      <td>113.73,23.6254</td>\n",
       "      <td>street</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>020</td>\n",
       "      <td>440117</td>\n",
       "      <td>温泉镇</td>\n",
       "      <td>113.828,23.6471</td>\n",
       "      <td>street</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "   citycode  adcode      name           center   level districts\n",
       "0       020  440117      江埔街道  113.583,23.5107  street        []\n",
       "1       020  440117      城郊街道  113.519,23.6542  street        []\n",
       "2       020  440117      街口街道  113.581,23.5096  street        []\n",
       "3       020  440117       吕田镇  113.853,23.8471  street        []\n",
       "4       020  440117     流溪河林场  113.844,23.8201  street        []\n",
       "5       020  440117       良口镇  113.793,23.8184  street        []\n",
       "6       020  440117  黄龙带水库管理处  113.718,23.8369  street        []\n",
       "7       020  440117       鳌头镇  113.517,23.5497  street        []\n",
       "8       020  440117       太平镇  113.457,23.4819  street        []\n",
       "9       020  440117     大岭山林场   113.73,23.6254  street        []\n",
       "10      020  440117       温泉镇  113.828,23.6471  street        []"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "# D-1 请注意行政区域级别划分参数\n",
    "def district(keywords,subdistrict=None,page=None,offset=None,extensions='base',filter=None,)->dict:\n",
    "    url = 'https://restapi.amap.com/v3/config/district?parameters'\n",
    "    params={\n",
    "        'key':key_zyi,\n",
    "        'keywords':keywords,\n",
    "        'subdistrict':subdistrict,\n",
    "        'page':page,\n",
    "        'offset':offset,\n",
    "        'extensions':extensions,\n",
    "        'filter':filter,\n",
    "        'output':'json'\n",
    "    }\n",
    "    response = requests.get(url,params=params)\n",
    "    data = response.json()\n",
    "    return data\n",
    "行政区域 = district(keywords='广东',extensions='all',subdistrict=3)\n",
    "\n",
    "df_行政区域_1级 = pd.json_normalize(行政区域[\"districts\"][0]['districts'])\n",
    "\n",
    "df_行政区域_2级_广州市 = pd.json_normalize(行政区域[\"districts\"][0]['districts'][20]['districts'])\n",
    "df_行政区域_3级_广州市 = pd.json_normalize(行政区域[\"districts\"][0]['districts'][20]['districts'][0]['districts'])\n",
    "\n",
    "display(df_行政区域_1级,df_行政区域_2级_广州市,df_行政区域_3级_广州市)\n",
    "\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 19,
   "metadata": {
    "ExecuteTime": {
     "end_time": "2020-04-22T11:17:14.032880Z",
     "start_time": "2020-04-22T11:17:14.030080Z"
    }
   },
   "outputs": [],
   "source": [
    "# D-2 2级区域地址\n",
    "# df_行政区域_2级"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 搜索POI\n",
    "**或许用到了计算机实现智能的原理，计算机视觉**"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### 关键字搜索（代码E）"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 20,
   "metadata": {
    "ExecuteTime": {
     "end_time": "2020-04-22T11:17:14.520112Z",
     "start_time": "2020-04-22T11:17:14.034070Z"
    }
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "{'status': '1',\n",
       " 'count': '302',\n",
       " 'info': 'OK',\n",
       " 'infocode': '10000',\n",
       " 'suggestion': {'keywords': [], 'cities': []},\n",
       " 'pois': [{'id': 'B00140458B',\n",
       "   'parent': [],\n",
       "   'childtype': [],\n",
       "   'name': '广东工业大学(龙洞校区)',\n",
       "   'tag': [],\n",
       "   'type': '科教文化服务;学校;高等院校',\n",
       "   'typecode': '141201',\n",
       "   'biz_type': [],\n",
       "   'address': '迎龙路161号',\n",
       "   'location': '113.359713,23.19677',\n",
       "   'tel': '020-87082921',\n",
       "   'postcode': [],\n",
       "   'website': [],\n",
       "   'email': [],\n",
       "   'pcode': '440000',\n",
       "   'pname': '广东省',\n",
       "   'citycode': '020',\n",
       "   'cityname': '广州市',\n",
       "   'adcode': '440106',\n",
       "   'adname': '天河区',\n",
       "   'importance': [],\n",
       "   'shopid': [],\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'gridcode': '3413623812',\n",
       "   'distance': [],\n",
       "   'navi_poiid': 'F49F010043_72087',\n",
       "   'entr_location': '113.364790,23.195436',\n",
       "   'business_area': '龙洞',\n",
       "   'exit_location': [],\n",
       "   'match': '0',\n",
       "   'recommend': '0',\n",
       "   'timestamp': '2020-03-15 20:21:25',\n",
       "   'alias': [],\n",
       "   'indoor_map': '0',\n",
       "   'indoor_data': {'cpid': [], 'floor': [], 'truefloor': [], 'cmsid': []},\n",
       "   'groupbuy_num': '0',\n",
       "   'discount_num': '0',\n",
       "   'biz_ext': {'rating': [], 'cost': []},\n",
       "   'event': [],\n",
       "   'children': [{'id': ' B00141HYUW ',\n",
       "     'name': ' 广东工业大学龙洞校区(东南门) ',\n",
       "     'sname': ' 东南门 ',\n",
       "     'location': '113.364707,23.195460',\n",
       "     'address': ' 龙洞街迎龙路161号 ',\n",
       "     'distance': ' 0 ',\n",
       "     'subtype': '门',\n",
       "     'typecode': ' 991400 '}],\n",
       "   'photos': [{'title': '内景图',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/141b7659bc7aeb993100980808f322a9'},\n",
       "    {'title': '内景图',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/92efcbabaf296256cf568049791cbf8c'},\n",
       "    {'title': '外景图',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/0279761ff16fc3dcd10e5912a51c026b'}]},\n",
       "  {'id': 'B0FFFFQZDE',\n",
       "   'parent': [],\n",
       "   'childtype': [],\n",
       "   'name': '广州医科大学越秀校区',\n",
       "   'tag': [],\n",
       "   'type': '科教文化服务;学校;高等院校',\n",
       "   'typecode': '141201',\n",
       "   'biz_type': [],\n",
       "   'address': '东风西路195号',\n",
       "   'location': '113.256131,23.134038',\n",
       "   'tel': '020-81340278;020-81340448',\n",
       "   'postcode': [],\n",
       "   'website': [],\n",
       "   'email': [],\n",
       "   'pcode': '440000',\n",
       "   'pname': '广东省',\n",
       "   'citycode': '020',\n",
       "   'cityname': '广州市',\n",
       "   'adcode': '440104',\n",
       "   'adname': '越秀区',\n",
       "   'importance': [],\n",
       "   'shopid': [],\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'gridcode': '3413525021',\n",
       "   'distance': [],\n",
       "   'navi_poiid': 'F49F011043_603745',\n",
       "   'entr_location': '113.255942,23.135396',\n",
       "   'business_area': '东风',\n",
       "   'exit_location': [],\n",
       "   'match': '0',\n",
       "   'recommend': '0',\n",
       "   'timestamp': '2020-03-25 11:57:58',\n",
       "   'alias': [],\n",
       "   'indoor_map': '0',\n",
       "   'indoor_data': {'cpid': [], 'floor': [], 'truefloor': [], 'cmsid': []},\n",
       "   'groupbuy_num': '0',\n",
       "   'discount_num': '0',\n",
       "   'biz_ext': {'rating': [], 'cost': []},\n",
       "   'event': [],\n",
       "   'children': [],\n",
       "   'photos': [{'title': '内景图',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/bd42c117adc1b03b2dc77821754276ed'},\n",
       "    {'title': '内景图',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/87d1ed25ddca859aa8886312aa8d5837'},\n",
       "    {'title': '外景图',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/d0b8c1500ff522ab27d0f92cfa022ef4'}]},\n",
       "  {'id': 'B00141IHRZ',\n",
       "   'parent': 'B0FFIGLX5N',\n",
       "   'childtype': '309',\n",
       "   'name': '中山大学广州校区南校园',\n",
       "   'tag': [],\n",
       "   'type': '科教文化服务;学校;高等院校',\n",
       "   'typecode': '141201',\n",
       "   'biz_type': [],\n",
       "   'address': '新港西路135号',\n",
       "   'location': '113.298415,23.096714',\n",
       "   'tel': '020-84112828;020-84036491',\n",
       "   'postcode': [],\n",
       "   'website': [],\n",
       "   'email': [],\n",
       "   'pcode': '440000',\n",
       "   'pname': '广东省',\n",
       "   'citycode': '020',\n",
       "   'cityname': '广州市',\n",
       "   'adcode': '440105',\n",
       "   'adname': '海珠区',\n",
       "   'importance': [],\n",
       "   'shopid': [],\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'gridcode': '3413521312',\n",
       "   'distance': [],\n",
       "   'navi_poiid': 'F49F011043_948758;71653',\n",
       "   'entr_location': '113.297039,23.091104',\n",
       "   'business_area': '新港',\n",
       "   'exit_location': [],\n",
       "   'match': '0',\n",
       "   'recommend': '0',\n",
       "   'timestamp': '2020-04-22 11:33:30',\n",
       "   'alias': '中山大学南校区|广州中大',\n",
       "   'indoor_map': '0',\n",
       "   'indoor_data': {'cpid': [], 'floor': [], 'truefloor': [], 'cmsid': []},\n",
       "   'groupbuy_num': '0',\n",
       "   'discount_num': '0',\n",
       "   'biz_ext': {'rating': '4.5', 'cost': []},\n",
       "   'event': [],\n",
       "   'children': [{'id': ' B00140TAV2 ',\n",
       "     'name': ' 中山大学南校区(北门) ',\n",
       "     'sname': ' 北门 ',\n",
       "     'location': '113.300039,23.102687',\n",
       "     'address': ' 新港西路135号中山大学南校区东北区398号 ',\n",
       "     'distance': ' 0 ',\n",
       "     'subtype': '门',\n",
       "     'typecode': ' 990000 '},\n",
       "    {'id': ' B00140TVAB ',\n",
       "     'name': ' 中山大学广州校区南校园(南门) ',\n",
       "     'sname': ' 南门 ',\n",
       "     'location': '113.29705,23.091124',\n",
       "     'address': ' 新港西路135号中山大学南校区 ',\n",
       "     'distance': ' 0 ',\n",
       "     'subtype': '门',\n",
       "     'typecode': ' 991400 '},\n",
       "    {'id': ' B00140AQP4 ',\n",
       "     'name': ' 中山大学广州校区南校园(西门) ',\n",
       "     'sname': ' 西门 ',\n",
       "     'location': '113.2914,23.092947',\n",
       "     'address': ' 新港西路135号中山大学南校区 ',\n",
       "     'distance': ' 0 ',\n",
       "     'subtype': '门',\n",
       "     'typecode': ' 991400 '},\n",
       "    {'id': ' B001402641 ',\n",
       "     'name': ' 中山大学广州校区南校园(东校门) ',\n",
       "     'sname': ' 东校门 ',\n",
       "     'location': '113.303862,23.094743',\n",
       "     'address': ' 新港西路135号 ',\n",
       "     'distance': ' 0 ',\n",
       "     'subtype': '门',\n",
       "     'typecode': ' 991400 '}],\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/f2ffc7743773caf2aab3929e9e02a997'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/4699806b0fc67194a8c6ee5cf3ed6266'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/a9dd44d4d4e70cf01aaf96da95c4f35b'}]},\n",
       "  {'id': 'B00140W6FI',\n",
       "   'parent': [],\n",
       "   'childtype': [],\n",
       "   'name': '广东交通职业技术学院花都校区',\n",
       "   'tag': [],\n",
       "   'type': '科教文化服务;学校;高等院校',\n",
       "   'typecode': '141201',\n",
       "   'biz_type': [],\n",
       "   'address': '工业大道东11号',\n",
       "   'location': '113.203282,23.366957',\n",
       "   'tel': '020-86863468',\n",
       "   'postcode': [],\n",
       "   'website': [],\n",
       "   'email': [],\n",
       "   'pcode': '440000',\n",
       "   'pname': '广东省',\n",
       "   'citycode': '020',\n",
       "   'cityname': '广州市',\n",
       "   'adcode': '440114',\n",
       "   'adname': '花都区',\n",
       "   'importance': [],\n",
       "   'shopid': [],\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'gridcode': '3513014600',\n",
       "   'distance': [],\n",
       "   'navi_poiid': 'F49F008042_198173;128817',\n",
       "   'entr_location': '113.202664,23.367478',\n",
       "   'business_area': [],\n",
       "   'exit_location': [],\n",
       "   'match': '0',\n",
       "   'recommend': '0',\n",
       "   'timestamp': '2020-04-15 12:41:37',\n",
       "   'alias': [],\n",
       "   'indoor_map': '0',\n",
       "   'indoor_data': {'cpid': [], 'floor': [], 'truefloor': [], 'cmsid': []},\n",
       "   'groupbuy_num': '0',\n",
       "   'discount_num': '0',\n",
       "   'biz_ext': {'rating': [], 'cost': []},\n",
       "   'event': [],\n",
       "   'children': [{'id': ' B00140UFHS ',\n",
       "     'name': ' 广东交通职业技术学院花都校区(西北门) ',\n",
       "     'sname': ' 西北门 ',\n",
       "     'location': '113.202680,23.367438',\n",
       "     'address': ' 新华镇工业大道11号 ',\n",
       "     'distance': ' 0 ',\n",
       "     'subtype': '门',\n",
       "     'typecode': ' 991401 '}],\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/844717a66f6f45f3e8781c27fa387180'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/48e6c18adacdbb4f44cb0301fd4ea1b0'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/2c25a049ffb4a676f6bdf6babe9532bc'}]},\n",
       "  {'id': 'B001409A53',\n",
       "   'parent': [],\n",
       "   'childtype': [],\n",
       "   'name': '广东培正学院',\n",
       "   'tag': [],\n",
       "   'type': '科教文化服务;学校;高等院校',\n",
       "   'typecode': '141201',\n",
       "   'biz_type': [],\n",
       "   'address': '培正路53号',\n",
       "   'location': '113.090459,23.410542',\n",
       "   'tel': '020-86710904',\n",
       "   'postcode': [],\n",
       "   'website': [],\n",
       "   'email': [],\n",
       "   'pcode': '440000',\n",
       "   'pname': '广东省',\n",
       "   'citycode': '020',\n",
       "   'cityname': '广州市',\n",
       "   'adcode': '440114',\n",
       "   'adname': '花都区',\n",
       "   'importance': [],\n",
       "   'shopid': [],\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'gridcode': '3513009700',\n",
       "   'distance': [],\n",
       "   'navi_poiid': 'F49F008041_54',\n",
       "   'entr_location': '113.092929,23.409245',\n",
       "   'business_area': '赤坭村',\n",
       "   'exit_location': [],\n",
       "   'match': '0',\n",
       "   'recommend': '0',\n",
       "   'timestamp': '2020-03-24 15:52:06',\n",
       "   'alias': [],\n",
       "   'indoor_map': '0',\n",
       "   'indoor_data': {'cpid': [], 'floor': [], 'truefloor': [], 'cmsid': []},\n",
       "   'groupbuy_num': '0',\n",
       "   'discount_num': '0',\n",
       "   'biz_ext': {'rating': [], 'cost': []},\n",
       "   'event': [],\n",
       "   'children': [{'id': ' B0FFIIMMY2 ',\n",
       "     'name': ' 广东培正学院(北门) ',\n",
       "     'sname': ' 北门 ',\n",
       "     'location': '113.094676,23.414785',\n",
       "     'address': ' 培正路53号 ',\n",
       "     'distance': ' 0 ',\n",
       "     'subtype': '门',\n",
       "     'typecode': ' 991400 '},\n",
       "    {'id': ' B00141J9HV ',\n",
       "     'name': ' 广东培正学院(东南门) ',\n",
       "     'sname': ' 东南门 ',\n",
       "     'location': '113.092901,23.409255',\n",
       "     'address': ' 培正路53号 ',\n",
       "     'distance': ' 0 ',\n",
       "     'subtype': '门',\n",
       "     'typecode': ' 991400 '},\n",
       "    {'id': ' B0FFI5W8P2 ',\n",
       "     'name': ' 广东培正学院停车场 ',\n",
       "     'sname': ' 停车场 ',\n",
       "     'location': '113.091820,23.409761',\n",
       "     'address': ' 赤坭镇培正路53号广东培正学院 ',\n",
       "     'distance': ' 0 ',\n",
       "     'subtype': '停车场',\n",
       "     'typecode': ' 150904 '}],\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/8d549f92c5aeb4926695f220094b142c'},\n",
       "    {'title': '外景图',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/5576356f53037759b1cddc9dd2fcd60a'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/1fe4dfacc5459332c9878d0acd5cd381'}]},\n",
       "  {'id': 'B00140BQCP',\n",
       "   'parent': [],\n",
       "   'childtype': [],\n",
       "   'name': '广州美术学院(大学城校区)',\n",
       "   'tag': [],\n",
       "   'type': '科教文化服务;学校;高等院校',\n",
       "   'typecode': '141201',\n",
       "   'biz_type': [],\n",
       "   'address': '大学城外环西路168号',\n",
       "   'location': '113.382675,23.038572',\n",
       "   'tel': [],\n",
       "   'postcode': [],\n",
       "   'website': 'www.gzarts.edu.cn',\n",
       "   'email': [],\n",
       "   'pcode': '440000',\n",
       "   'pname': '广东省',\n",
       "   'citycode': '020',\n",
       "   'cityname': '广州市',\n",
       "   'adcode': '440113',\n",
       "   'adname': '番禺区',\n",
       "   'importance': [],\n",
       "   'shopid': [],\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'gridcode': '3413434011',\n",
       "   'distance': [],\n",
       "   'navi_poiid': 'F49F012044_85969',\n",
       "   'entr_location': '113.385018,23.037662',\n",
       "   'business_area': [],\n",
       "   'exit_location': [],\n",
       "   'match': '0',\n",
       "   'recommend': '0',\n",
       "   'timestamp': '2020-04-17 15:58:24',\n",
       "   'alias': [],\n",
       "   'indoor_map': '0',\n",
       "   'indoor_data': {'cpid': [], 'floor': [], 'truefloor': [], 'cmsid': []},\n",
       "   'groupbuy_num': '0',\n",
       "   'discount_num': '0',\n",
       "   'biz_ext': {'rating': '4.7', 'cost': []},\n",
       "   'event': [],\n",
       "   'children': [{'id': ' B00141J1UH ',\n",
       "     'name': ' 广州美术学院大学城校区(南2门) ',\n",
       "     'sname': ' 南2门 ',\n",
       "     'location': '113.382624,23.035882',\n",
       "     'address': ' 大学城外环西路168号 ',\n",
       "     'distance': ' 0 ',\n",
       "     'subtype': '门',\n",
       "     'typecode': ' 991400 '},\n",
       "    {'id': ' B001423P0V ',\n",
       "     'name': ' 广州美术学院大学城校区停车场 ',\n",
       "     'sname': ' 停车场 ',\n",
       "     'location': '113.383304,23.036106',\n",
       "     'address': ' 大学城外环西路北150米 ',\n",
       "     'distance': ' 0 ',\n",
       "     'subtype': '停车场',\n",
       "     'typecode': ' 150904 '}],\n",
       "   'photos': [{'title': '内景图',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/c68c8d3ed1df8f9d7b5d36d80fa9c439'},\n",
       "    {'title': '外景图',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/bfe8557b23557222319299609d428374'},\n",
       "    {'title': '内景图',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/bcb2efea79f4979b4778cd1a0ed60cad'}]},\n",
       "  {'id': 'B00140WEMJ',\n",
       "   'parent': [],\n",
       "   'childtype': [],\n",
       "   'name': '广东外语外贸大学(北校区)',\n",
       "   'tag': [],\n",
       "   'type': '科教文化服务;学校;高等院校',\n",
       "   'typecode': '141201',\n",
       "   'biz_type': [],\n",
       "   'address': '白云大道北2号',\n",
       "   'location': '113.29248,23.200471',\n",
       "   'tel': '020-36204310;020-36209026;020-83308484',\n",
       "   'postcode': [],\n",
       "   'website': [],\n",
       "   'email': [],\n",
       "   'pcode': '440000',\n",
       "   'pname': '广东省',\n",
       "   'citycode': '020',\n",
       "   'cityname': '广州市',\n",
       "   'adcode': '440111',\n",
       "   'adname': '白云区',\n",
       "   'importance': [],\n",
       "   'shopid': [],\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'gridcode': '3413624301',\n",
       "   'distance': [],\n",
       "   'navi_poiid': 'F49F010043_793967;73408',\n",
       "   'entr_location': '113.287576,23.199968',\n",
       "   'business_area': '白云大道',\n",
       "   'exit_location': [],\n",
       "   'match': '0',\n",
       "   'recommend': '0',\n",
       "   'timestamp': '2020-04-20 17:18:58',\n",
       "   'alias': '外语外贸大学',\n",
       "   'indoor_map': '0',\n",
       "   'indoor_data': {'cpid': [], 'floor': [], 'truefloor': [], 'cmsid': []},\n",
       "   'groupbuy_num': '0',\n",
       "   'discount_num': '0',\n",
       "   'biz_ext': {'rating': [], 'cost': []},\n",
       "   'event': [],\n",
       "   'children': [{'id': ' B00140B6G3 ',\n",
       "     'name': ' 广东外语外贸大学北校区(西门) ',\n",
       "     'sname': ' 西门 ',\n",
       "     'location': '113.287583,23.199975',\n",
       "     'address': ' 白云大道北2号 ',\n",
       "     'distance': ' 0 ',\n",
       "     'subtype': '门',\n",
       "     'typecode': ' 991400 '},\n",
       "    {'id': ' B00141KHZV ',\n",
       "     'name': ' 广东外语外贸大学北校区停车场 ',\n",
       "     'sname': ' 停车场 ',\n",
       "     'location': '113.289056,23.197722',\n",
       "     'address': ' 白云大道北2号广东外语外贸大学北校区内 ',\n",
       "     'distance': ' 0 ',\n",
       "     'subtype': '停车场',\n",
       "     'typecode': ' 150904 '},\n",
       "    {'id': ' B00141HX4Z ',\n",
       "     'name': ' 广东外语外贸大学北校区停车场 ',\n",
       "     'sname': ' 停车场 ',\n",
       "     'location': '113.293020,23.198988',\n",
       "     'address': ' 白云大道北2号广东外语外贸大学北校区内 ',\n",
       "     'distance': ' 0 ',\n",
       "     'subtype': '停车场',\n",
       "     'typecode': ' 150904 '},\n",
       "    {'id': ' B0FFG67WJR ',\n",
       "     'name': ' 广东外语外贸大学北校区停车场 ',\n",
       "     'sname': ' 停车场 ',\n",
       "     'location': '113.297436,23.197607',\n",
       "     'address': ' 白云大道北2号广东外语外贸大学北校区内 ',\n",
       "     'distance': ' 0 ',\n",
       "     'subtype': '停车场',\n",
       "     'typecode': ' 150904 '},\n",
       "    {'id': ' B0FFG69GAZ ',\n",
       "     'name': ' 广东外语外贸大学北校区停车场 ',\n",
       "     'sname': ' 停车场 ',\n",
       "     'location': '113.291531,23.205214',\n",
       "     'address': ' 白云大道北2号广东外语外贸大学北校区内 ',\n",
       "     'distance': ' 0 ',\n",
       "     'subtype': '停车场',\n",
       "     'typecode': ' 150904 '},\n",
       "    {'id': ' B0FFG68MX2 ',\n",
       "     'name': ' 广东外语外贸大学北校区停车场 ',\n",
       "     'sname': ' 停车场 ',\n",
       "     'location': '113.291149,23.200591',\n",
       "     'address': ' 白云大道北2号广东外语外贸大学北校区内 ',\n",
       "     'distance': ' 0 ',\n",
       "     'subtype': '停车场',\n",
       "     'typecode': ' 150904 '}],\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/50be85cf4cd3a3cea167482f336a32a8'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/7db4b9407ff72f88fe36c248618bca8f'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/53dcfc72013d754ba1ef87bc49c8096f'}]},\n",
       "  {'id': 'B00140UF1D',\n",
       "   'parent': [],\n",
       "   'childtype': [],\n",
       "   'name': '广东技术师范大学',\n",
       "   'tag': [],\n",
       "   'type': '科教文化服务;学校;高等院校',\n",
       "   'typecode': '141201',\n",
       "   'biz_type': [],\n",
       "   'address': '中山大道西293号',\n",
       "   'location': '113.371742,23.131147',\n",
       "   'tel': '020-38257322;020-38256659',\n",
       "   'postcode': [],\n",
       "   'website': 'www.gdin.edu.cn',\n",
       "   'email': [],\n",
       "   'pcode': '440000',\n",
       "   'pname': '广东省',\n",
       "   'citycode': '020',\n",
       "   'cityname': '广州市',\n",
       "   'adcode': '440106',\n",
       "   'adname': '天河区',\n",
       "   'importance': [],\n",
       "   'shopid': [],\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'gridcode': '3413525922',\n",
       "   'distance': [],\n",
       "   'navi_poiid': 'F49F011043_699041',\n",
       "   'entr_location': '113.371510,23.129655',\n",
       "   'business_area': '上社村',\n",
       "   'exit_location': [],\n",
       "   'match': '0',\n",
       "   'recommend': '0',\n",
       "   'timestamp': '2020-04-08 16:27:47',\n",
       "   'alias': '广东师范技术学院|广东技术师范学院',\n",
       "   'indoor_map': '0',\n",
       "   'indoor_data': {'cpid': [], 'floor': [], 'truefloor': [], 'cmsid': []},\n",
       "   'groupbuy_num': '0',\n",
       "   'discount_num': '0',\n",
       "   'biz_ext': {'rating': [], 'cost': []},\n",
       "   'event': [],\n",
       "   'children': [{'id': ' B00140TVFC ',\n",
       "     'name': ' 广东技术师范大学(西南门) ',\n",
       "     'sname': ' 西南门 ',\n",
       "     'location': '113.371504,23.129789',\n",
       "     'address': ' 中山大道西293号 ',\n",
       "     'distance': ' 0 ',\n",
       "     'subtype': '门',\n",
       "     'typecode': ' 991401 '}],\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/5840a03dded03463d363d684d1892526'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/7b6d43a8d7706f1ff22812921d64e08f'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/803a8ffcf7f6b1969c5757c8c4b252ef'}]},\n",
       "  {'id': 'B00141OISJ',\n",
       "   'parent': 'B00140385E',\n",
       "   'childtype': '309',\n",
       "   'name': '广州中医药大学三元里校区',\n",
       "   'tag': [],\n",
       "   'type': '科教文化服务;学校;高等院校',\n",
       "   'typecode': '141201',\n",
       "   'biz_type': [],\n",
       "   'address': '机场路12号',\n",
       "   'location': '113.26713,23.156024',\n",
       "   'tel': '020-86363563',\n",
       "   'postcode': '510405',\n",
       "   'website': [],\n",
       "   'email': [],\n",
       "   'pcode': '440000',\n",
       "   'pname': '广东省',\n",
       "   'citycode': '020',\n",
       "   'cityname': '广州市',\n",
       "   'adcode': '440111',\n",
       "   'adname': '白云区',\n",
       "   'importance': [],\n",
       "   'shopid': [],\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'gridcode': '3413528121',\n",
       "   'distance': [],\n",
       "   'navi_poiid': 'F49F011043_604051',\n",
       "   'entr_location': '113.263788,23.155384',\n",
       "   'business_area': [],\n",
       "   'exit_location': [],\n",
       "   'match': '0',\n",
       "   'recommend': '0',\n",
       "   'timestamp': '2020-04-13 18:40:53',\n",
       "   'alias': [],\n",
       "   'indoor_map': '0',\n",
       "   'indoor_data': {'cpid': [], 'floor': [], 'truefloor': [], 'cmsid': []},\n",
       "   'groupbuy_num': '0',\n",
       "   'discount_num': '0',\n",
       "   'biz_ext': {'rating': '4.0', 'cost': []},\n",
       "   'event': [],\n",
       "   'children': [],\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/94ad9e0cd1db5ab6667f96a579af7d27'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/e5ef18f21bca2a71f0cf64c850418a6a'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/1662a71826f8fc86d4e630f85e25113c'}]},\n",
       "  {'id': 'B0FFGH24MR',\n",
       "   'parent': [],\n",
       "   'childtype': [],\n",
       "   'name': '暨南大学',\n",
       "   'tag': [],\n",
       "   'type': '科教文化服务;学校;高等院校',\n",
       "   'typecode': '141201',\n",
       "   'biz_type': [],\n",
       "   'address': [],\n",
       "   'location': '113.349402,23.133382',\n",
       "   'tel': [],\n",
       "   'postcode': [],\n",
       "   'website': [],\n",
       "   'email': [],\n",
       "   'pcode': '440000',\n",
       "   'pname': '广东省',\n",
       "   'citycode': '020',\n",
       "   'cityname': '广州市',\n",
       "   'adcode': '440106',\n",
       "   'adname': '天河区',\n",
       "   'importance': [],\n",
       "   'shopid': [],\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'gridcode': '3413526702',\n",
       "   'distance': [],\n",
       "   'navi_poiid': [],\n",
       "   'entr_location': '113.349745,23.135584',\n",
       "   'business_area': [],\n",
       "   'exit_location': [],\n",
       "   'match': '0',\n",
       "   'recommend': '0',\n",
       "   'timestamp': '2020-04-17 15:07:11',\n",
       "   'alias': [],\n",
       "   'indoor_map': '0',\n",
       "   'indoor_data': {'cpid': [], 'floor': [], 'truefloor': [], 'cmsid': []},\n",
       "   'groupbuy_num': '0',\n",
       "   'discount_num': '0',\n",
       "   'biz_ext': {'rating': '4.4', 'cost': []},\n",
       "   'event': [],\n",
       "   'children': [],\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/60316bdae9210287f633765a48dc9f64'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/cc78db94234f74db4d2cea123e67c356'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/8d1f76d52a69f6a9e54a92c30cea9d5e'}]},\n",
       "  {'id': 'B00140A367',\n",
       "   'parent': 'B0FFK7GDEE',\n",
       "   'childtype': '309',\n",
       "   'name': '广州大学桂花岗校区',\n",
       "   'tag': [],\n",
       "   'type': '科教文化服务;学校;高等院校',\n",
       "   'typecode': '141201',\n",
       "   'biz_type': [],\n",
       "   'address': '桂花岗东1号',\n",
       "   'location': '113.266066,23.149009',\n",
       "   'tel': '020-36196087',\n",
       "   'postcode': [],\n",
       "   'website': [],\n",
       "   'email': [],\n",
       "   'pcode': '440000',\n",
       "   'pname': '广东省',\n",
       "   'citycode': '020',\n",
       "   'cityname': '广州市',\n",
       "   'adcode': '440104',\n",
       "   'adname': '越秀区',\n",
       "   'importance': [],\n",
       "   'shopid': [],\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'gridcode': '3413527120',\n",
       "   'distance': [],\n",
       "   'navi_poiid': 'F49F011043_781965;721040;923924;721078;721080',\n",
       "   'entr_location': '113.265865,23.149747',\n",
       "   'business_area': '解放北',\n",
       "   'exit_location': [],\n",
       "   'match': '0',\n",
       "   'recommend': '0',\n",
       "   'timestamp': '2020-04-15 13:55:31',\n",
       "   'alias': '桂花岗广州大学',\n",
       "   'indoor_map': '0',\n",
       "   'indoor_data': {'cpid': [], 'floor': [], 'truefloor': [], 'cmsid': []},\n",
       "   'groupbuy_num': '0',\n",
       "   'discount_num': '0',\n",
       "   'biz_ext': {'rating': [], 'cost': []},\n",
       "   'event': [],\n",
       "   'children': [{'id': ' B00140UG32 ',\n",
       "     'name': ' 广州大学桂花岗校区(东北门) ',\n",
       "     'sname': ' 东北门 ',\n",
       "     'location': '113.265856,23.149706',\n",
       "     'address': ' 桂花岗东1 ',\n",
       "     'distance': ' 0 ',\n",
       "     'subtype': '门',\n",
       "     'typecode': ' 991401 '}],\n",
       "   'photos': [{'title': '内景图',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/4152aa7504576241c2a21d6ed03fc4b7'},\n",
       "    {'title': '内景图',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/682e498d9e5e970e670841bec33e6cd8'},\n",
       "    {'title': '内景图',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/bcd959a58fc339bd10bb3db2fd3ecf12'}]},\n",
       "  {'id': 'B00140TVAS',\n",
       "   'parent': [],\n",
       "   'childtype': [],\n",
       "   'name': '昆明理工大学(广州校区)',\n",
       "   'tag': [],\n",
       "   'type': '科教文化服务;学校;高等院校',\n",
       "   'typecode': '141201',\n",
       "   'biz_type': [],\n",
       "   'address': '中山大道中车陂北街28号',\n",
       "   'location': '113.399378,23.128946',\n",
       "   'tel': '020-82520210',\n",
       "   'postcode': [],\n",
       "   'website': [],\n",
       "   'email': [],\n",
       "   'pcode': '440000',\n",
       "   'pname': '广东省',\n",
       "   'citycode': '020',\n",
       "   'cityname': '广州市',\n",
       "   'adcode': '440106',\n",
       "   'adname': '天河区',\n",
       "   'importance': [],\n",
       "   'shopid': [],\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'gridcode': '3413535112',\n",
       "   'distance': [],\n",
       "   'navi_poiid': 'F49F011044_267218',\n",
       "   'entr_location': '113.397914,23.128374',\n",
       "   'business_area': '车陂',\n",
       "   'exit_location': [],\n",
       "   'match': '0',\n",
       "   'recommend': '0',\n",
       "   'timestamp': '2020-03-18 18:14:11',\n",
       "   'alias': '广州市广通工程技术职业培训学校',\n",
       "   'indoor_map': '0',\n",
       "   'indoor_data': {'cpid': [], 'floor': [], 'truefloor': [], 'cmsid': []},\n",
       "   'groupbuy_num': '0',\n",
       "   'discount_num': '0',\n",
       "   'biz_ext': {'rating': '3.0', 'cost': []},\n",
       "   'event': [],\n",
       "   'children': [],\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/c927eb81f1fea92ff5d92012c1038448'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/dc78aba0a1784708b54ebea96d21a806'}]},\n",
       "  {'id': 'B0FFIPCYV7',\n",
       "   'parent': [],\n",
       "   'childtype': [],\n",
       "   'name': '广州经济技术开发区行政学院',\n",
       "   'tag': [],\n",
       "   'type': '科教文化服务;学校;高等院校',\n",
       "   'typecode': '141201',\n",
       "   'biz_type': [],\n",
       "   'address': '开发大道350号',\n",
       "   'location': '113.525724,23.059868',\n",
       "   'tel': [],\n",
       "   'postcode': [],\n",
       "   'website': [],\n",
       "   'email': [],\n",
       "   'pcode': '440000',\n",
       "   'pname': '广东省',\n",
       "   'citycode': '020',\n",
       "   'cityname': '广州市',\n",
       "   'adcode': '440112',\n",
       "   'adname': '黄埔区',\n",
       "   'importance': [],\n",
       "   'shopid': [],\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'gridcode': '3413447200',\n",
       "   'distance': [],\n",
       "   'navi_poiid': 'F49F012045_11891',\n",
       "   'entr_location': '113.52556,23.060098',\n",
       "   'business_area': [],\n",
       "   'exit_location': [],\n",
       "   'match': '0',\n",
       "   'recommend': '0',\n",
       "   'timestamp': '2020-03-30 12:03:43',\n",
       "   'alias': [],\n",
       "   'indoor_map': '0',\n",
       "   'indoor_data': {'cpid': [], 'floor': [], 'truefloor': [], 'cmsid': []},\n",
       "   'groupbuy_num': '0',\n",
       "   'discount_num': '0',\n",
       "   'biz_ext': {'rating': [], 'cost': []},\n",
       "   'event': [],\n",
       "   'children': [],\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/775dea571f24dc27c6f5bf64d1bda579'}]},\n",
       "  {'id': 'B0FFG8723C',\n",
       "   'parent': [],\n",
       "   'childtype': [],\n",
       "   'name': '广州工程技术职业学院(黄埔校区)',\n",
       "   'tag': [],\n",
       "   'type': '科教文化服务;学校;高等院校',\n",
       "   'typecode': '141201',\n",
       "   'biz_type': [],\n",
       "   'address': '文冲街石化路石化大院166号',\n",
       "   'location': '113.472697,23.10515',\n",
       "   'tel': [],\n",
       "   'postcode': [],\n",
       "   'website': [],\n",
       "   'email': [],\n",
       "   'pcode': '440000',\n",
       "   'pname': '广东省',\n",
       "   'citycode': '020',\n",
       "   'cityname': '广州市',\n",
       "   'adcode': '440112',\n",
       "   'adname': '黄埔区',\n",
       "   'importance': [],\n",
       "   'shopid': [],\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'gridcode': '3413532712',\n",
       "   'distance': [],\n",
       "   'navi_poiid': [],\n",
       "   'entr_location': '113.47267,23.104944',\n",
       "   'business_area': '红山',\n",
       "   'exit_location': [],\n",
       "   'match': '0',\n",
       "   'recommend': '0',\n",
       "   'timestamp': '2020-03-26 16:43:13',\n",
       "   'alias': [],\n",
       "   'indoor_map': '0',\n",
       "   'indoor_data': {'cpid': [], 'floor': [], 'truefloor': [], 'cmsid': []},\n",
       "   'groupbuy_num': '0',\n",
       "   'discount_num': '0',\n",
       "   'biz_ext': {'rating': [], 'cost': []},\n",
       "   'event': [],\n",
       "   'children': [],\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/96ce1bc6c800f048eb46dc27f391cd68'}]},\n",
       "  {'id': 'B0FFG5CSH0',\n",
       "   'parent': [],\n",
       "   'childtype': [],\n",
       "   'name': '湘南学院实习教学基地',\n",
       "   'tag': [],\n",
       "   'type': '科教文化服务;学校;高等院校',\n",
       "   'typecode': '141201',\n",
       "   'biz_type': [],\n",
       "   'address': '温泉东路117号附近',\n",
       "   'location': '113.653704,23.653237',\n",
       "   'tel': [],\n",
       "   'postcode': [],\n",
       "   'website': [],\n",
       "   'email': [],\n",
       "   'pcode': '440000',\n",
       "   'pname': '广东省',\n",
       "   'citycode': '020',\n",
       "   'cityname': '广州市',\n",
       "   'adcode': '440117',\n",
       "   'adname': '从化区',\n",
       "   'importance': [],\n",
       "   'shopid': [],\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'gridcode': '3513358210',\n",
       "   'distance': [],\n",
       "   'navi_poiid': [],\n",
       "   'entr_location': [],\n",
       "   'business_area': '温泉',\n",
       "   'exit_location': [],\n",
       "   'match': '0',\n",
       "   'recommend': '0',\n",
       "   'timestamp': '2020-03-18 18:26:04',\n",
       "   'alias': [],\n",
       "   'indoor_map': '0',\n",
       "   'indoor_data': {'cpid': [], 'floor': [], 'truefloor': [], 'cmsid': []},\n",
       "   'groupbuy_num': '0',\n",
       "   'discount_num': '0',\n",
       "   'biz_ext': {'rating': [], 'cost': []},\n",
       "   'event': [],\n",
       "   'children': [],\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/82489cd4cc8686615e0c92efb29a54a8'}]},\n",
       "  {'id': 'B0FFFV9MAC',\n",
       "   'parent': [],\n",
       "   'childtype': [],\n",
       "   'name': '广州民航职业技术学院(花都赤坭校区)',\n",
       "   'tag': [],\n",
       "   'type': '科教文化服务;学校;高等院校',\n",
       "   'typecode': '141201',\n",
       "   'biz_type': [],\n",
       "   'address': '赤坭镇',\n",
       "   'location': '113.104034,23.395655',\n",
       "   'tel': [],\n",
       "   'postcode': [],\n",
       "   'website': [],\n",
       "   'email': [],\n",
       "   'pcode': '440000',\n",
       "   'pname': '广东省',\n",
       "   'citycode': '020',\n",
       "   'cityname': '广州市',\n",
       "   'adcode': '440114',\n",
       "   'adname': '花都区',\n",
       "   'importance': [],\n",
       "   'shopid': [],\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'gridcode': '3513007810',\n",
       "   'distance': [],\n",
       "   'navi_poiid': [],\n",
       "   'entr_location': '113.101521,23.396726',\n",
       "   'business_area': [],\n",
       "   'exit_location': [],\n",
       "   'match': '0',\n",
       "   'recommend': '0',\n",
       "   'timestamp': '2020-03-25 11:31:46',\n",
       "   'alias': [],\n",
       "   'indoor_map': '0',\n",
       "   'indoor_data': {'cpid': [], 'floor': [], 'truefloor': [], 'cmsid': []},\n",
       "   'groupbuy_num': '0',\n",
       "   'discount_num': '0',\n",
       "   'biz_ext': {'rating': [], 'cost': []},\n",
       "   'event': [],\n",
       "   'children': [],\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/5d6d42dae7ef818ddc5fe3bade411789'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/92f466a0528336d95061a1001c6b11dc'}]},\n",
       "  {'id': 'B0FFFAIKXG',\n",
       "   'parent': [],\n",
       "   'childtype': [],\n",
       "   'name': '广州商学院',\n",
       "   'tag': [],\n",
       "   'type': '科教文化服务;学校;高等院校',\n",
       "   'typecode': '141201',\n",
       "   'biz_type': [],\n",
       "   'address': '九龙镇九龙大道',\n",
       "   'location': '113.56882,23.303876',\n",
       "   'tel': '020-82876130;020-82878480',\n",
       "   'postcode': [],\n",
       "   'website': [],\n",
       "   'email': [],\n",
       "   'pcode': '440000',\n",
       "   'pname': '广东省',\n",
       "   'citycode': '020',\n",
       "   'cityname': '广州市',\n",
       "   'adcode': '440112',\n",
       "   'adname': '黄埔区',\n",
       "   'importance': [],\n",
       "   'shopid': [],\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'gridcode': '3413746511',\n",
       "   'distance': [],\n",
       "   'navi_poiid': 'F49F009045_1694',\n",
       "   'entr_location': '113.567234,23.302894',\n",
       "   'business_area': [],\n",
       "   'exit_location': [],\n",
       "   'match': '0',\n",
       "   'recommend': '0',\n",
       "   'timestamp': '2020-04-14 16:01:12',\n",
       "   'alias': '华南师范增城学院',\n",
       "   'indoor_map': '0',\n",
       "   'indoor_data': {'cpid': [], 'floor': [], 'truefloor': [], 'cmsid': []},\n",
       "   'groupbuy_num': '0',\n",
       "   'discount_num': '0',\n",
       "   'biz_ext': {'rating': [], 'cost': []},\n",
       "   'event': [],\n",
       "   'children': [],\n",
       "   'photos': [{'title': '外景图',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/7f9aa9a61ce609fb64c5268dbeaecb2d'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/cc3c2c5e4bd30f7502fad8fa44a813d6'},\n",
       "    {'title': '外景图',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/14769691648dfb561feb31d28266f3da'}]},\n",
       "  {'id': 'B00141KFHP',\n",
       "   'parent': [],\n",
       "   'childtype': [],\n",
       "   'name': '南方医科大学',\n",
       "   'tag': [],\n",
       "   'type': '科教文化服务;学校;高等院校',\n",
       "   'typecode': '141201',\n",
       "   'biz_type': [],\n",
       "   'address': '沙太南路1023-1063号',\n",
       "   'location': '113.333184,23.187549',\n",
       "   'tel': '020-61648502;020-61640114;020-61648504',\n",
       "   'postcode': [],\n",
       "   'website': [],\n",
       "   'email': [],\n",
       "   'pcode': '440000',\n",
       "   'pname': '广东省',\n",
       "   'citycode': '020',\n",
       "   'cityname': '广州市',\n",
       "   'adcode': '440111',\n",
       "   'adname': '白云区',\n",
       "   'importance': [],\n",
       "   'shopid': [],\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'gridcode': '3413622612',\n",
       "   'distance': [],\n",
       "   'navi_poiid': 'F49F010043_795836;698321',\n",
       "   'entr_location': '113.33681,23.18735',\n",
       "   'business_area': [],\n",
       "   'exit_location': [],\n",
       "   'match': '0',\n",
       "   'recommend': '0',\n",
       "   'timestamp': '2020-04-08 18:44:45',\n",
       "   'alias': '中国人民解放军第一军医大学',\n",
       "   'indoor_map': '0',\n",
       "   'indoor_data': {'cpid': [], 'floor': [], 'truefloor': [], 'cmsid': []},\n",
       "   'groupbuy_num': '0',\n",
       "   'discount_num': '0',\n",
       "   'biz_ext': {'rating': [], 'cost': []},\n",
       "   'event': [],\n",
       "   'children': [],\n",
       "   'photos': [{'title': '外景图',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/924e4108a6aea4f5888cd51937347202'},\n",
       "    {'title': '内景图',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/dc134e52a67d49a5b879b907aac003d3'},\n",
       "    {'title': '内景图',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/46d6703b7403158af6a9bd2a9029fc84'}]},\n",
       "  {'id': 'B00141KFAQ',\n",
       "   'parent': 'B0FFK4HKF5',\n",
       "   'childtype': '309',\n",
       "   'name': '广州工程技术职业学院龙洞校区',\n",
       "   'tag': [],\n",
       "   'type': '科教文化服务;学校;高等院校',\n",
       "   'typecode': '141201',\n",
       "   'biz_type': [],\n",
       "   'address': '龙洞街道天源路1121号',\n",
       "   'location': '113.360274,23.19088',\n",
       "   'tel': '020-87663584',\n",
       "   'postcode': [],\n",
       "   'website': [],\n",
       "   'email': [],\n",
       "   'pcode': '440000',\n",
       "   'pname': '广东省',\n",
       "   'citycode': '020',\n",
       "   'cityname': '广州市',\n",
       "   'adcode': '440106',\n",
       "   'adname': '天河区',\n",
       "   'importance': [],\n",
       "   'shopid': [],\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'gridcode': '3413622822',\n",
       "   'distance': [],\n",
       "   'navi_poiid': 'F49F010043_86069;796418',\n",
       "   'entr_location': '113.359995,23.192728',\n",
       "   'business_area': '龙洞',\n",
       "   'exit_location': [],\n",
       "   'match': '0',\n",
       "   'recommend': '0',\n",
       "   'timestamp': '2020-03-26 13:59:22',\n",
       "   'alias': [],\n",
       "   'indoor_map': '0',\n",
       "   'indoor_data': {'cpid': [], 'floor': [], 'truefloor': [], 'cmsid': []},\n",
       "   'groupbuy_num': '0',\n",
       "   'discount_num': '0',\n",
       "   'biz_ext': {'rating': [], 'cost': []},\n",
       "   'event': [],\n",
       "   'children': [{'id': ' B00141PSD3 ',\n",
       "     'name': ' 广州工程技术职业学院龙洞校区(东南门) ',\n",
       "     'sname': ' 东南门 ',\n",
       "     'location': '113.361026,23.189129',\n",
       "     'address': ' 天源路1121号 ',\n",
       "     'distance': ' 0 ',\n",
       "     'subtype': '门',\n",
       "     'typecode': ' 991400 '}],\n",
       "   'photos': [{'title': '外景图',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/de5140322d3877562d3e32bb853f7cba'},\n",
       "    {'title': '内景图',\n",
       "     'url': 'http://store.is.autonavi.com/showpic/291fbc555ebbefc29b22b159982d3fd0'}]},\n",
       "  {'id': 'B00141JRFZ',\n",
       "   'parent': [],\n",
       "   'childtype': [],\n",
       "   'name': '广东第二师范学院(花都校区)',\n",
       "   'tag': [],\n",
       "   'type': '科教文化服务;学校;高等院校',\n",
       "   'typecode': '141201',\n",
       "   'biz_type': [],\n",
       "   'address': '迎宾大道西30号',\n",
       "   'location': '113.185576,23.404948',\n",
       "   'tel': '020-36967708',\n",
       "   'postcode': [],\n",
       "   'website': [],\n",
       "   'email': [],\n",
       "   'pcode': '440000',\n",
       "   'pname': '广东省',\n",
       "   'citycode': '020',\n",
       "   'cityname': '广州市',\n",
       "   'adcode': '440114',\n",
       "   'adname': '花都区',\n",
       "   'importance': [],\n",
       "   'shopid': [],\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'gridcode': '3513018412',\n",
       "   'distance': [],\n",
       "   'navi_poiid': 'F49F008042_144827',\n",
       "   'entr_location': '113.184975,23.398431',\n",
       "   'business_area': [],\n",
       "   'exit_location': [],\n",
       "   'match': '0',\n",
       "   'recommend': '0',\n",
       "   'timestamp': '2020-04-14 18:36:38',\n",
       "   'alias': [],\n",
       "   'indoor_map': '0',\n",
       "   'indoor_data': {'cpid': [], 'floor': [], 'truefloor': [], 'cmsid': []},\n",
       "   'groupbuy_num': '0',\n",
       "   'discount_num': '0',\n",
       "   'biz_ext': {'rating': [], 'cost': []},\n",
       "   'event': [],\n",
       "   'children': [],\n",
       "   'photos': [{'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/e0ff165cbe5814f3ab16f59f5411e590'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/09e302b3cda26be92ee17794a5363da2'},\n",
       "    {'title': [],\n",
       "     'url': 'http://store.is.autonavi.com/showpic/2b0780d8ac5e1e90f46970e65db5e7bf'}]}]}"
      ]
     },
     "execution_count": 20,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# E-1\n",
    "def place_text(keywords,types,city=None,citylimit=None,children=None,page=None,extensions='base',sig=None)->dict:\n",
    "    url = 'https://restapi.amap.com/v3/place/text?parameters'\n",
    "    params={\n",
    "        'key':key_zyi,\n",
    "        'keywords':keywords,\n",
    "        'types':types,\n",
    "        'city':city,\n",
    "        'citylimit':citylimit,\n",
    "        'children':children,\n",
    "        'page':page,\n",
    "        'extensions':extensions,\n",
    "        'output':'json'\n",
    "    }\n",
    "    response = requests.get(url,params=params)\n",
    "    data = response.json()\n",
    "    return data\n",
    "\n",
    "广州_大学 = place_text('大学','高等院校',city=\"广州市\",children=1,extensions='all')\n",
    "广州_大学\n",
    "\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 21,
   "metadata": {
    "ExecuteTime": {
     "end_time": "2020-04-22T11:17:14.612853Z",
     "start_time": "2020-04-22T11:17:14.521063Z"
    }
   },
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>id</th>\n",
       "      <th>parent</th>\n",
       "      <th>childtype</th>\n",
       "      <th>name</th>\n",
       "      <th>tag</th>\n",
       "      <th>type</th>\n",
       "      <th>typecode</th>\n",
       "      <th>biz_type</th>\n",
       "      <th>address</th>\n",
       "      <th>location</th>\n",
       "      <th>...</th>\n",
       "      <th>discount_num</th>\n",
       "      <th>event</th>\n",
       "      <th>children</th>\n",
       "      <th>photos</th>\n",
       "      <th>indoor_data.cpid</th>\n",
       "      <th>indoor_data.floor</th>\n",
       "      <th>indoor_data.truefloor</th>\n",
       "      <th>indoor_data.cmsid</th>\n",
       "      <th>biz_ext.rating</th>\n",
       "      <th>biz_ext.cost</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>B00140458B</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>广东工业大学(龙洞校区)</td>\n",
       "      <td>[]</td>\n",
       "      <td>科教文化服务;学校;高等院校</td>\n",
       "      <td>141201</td>\n",
       "      <td>[]</td>\n",
       "      <td>迎龙路161号</td>\n",
       "      <td>113.359713,23.19677</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[{'id': ' B00141HYUW ', 'name': ' 广东工业大学龙洞校区(东...</td>\n",
       "      <td>[{'title': '内景图', 'url': 'http://store.is.auto...</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>B0FFFFQZDE</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>广州医科大学越秀校区</td>\n",
       "      <td>[]</td>\n",
       "      <td>科教文化服务;学校;高等院校</td>\n",
       "      <td>141201</td>\n",
       "      <td>[]</td>\n",
       "      <td>东风西路195号</td>\n",
       "      <td>113.256131,23.134038</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[{'title': '内景图', 'url': 'http://store.is.auto...</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>B00141IHRZ</td>\n",
       "      <td>B0FFIGLX5N</td>\n",
       "      <td>309</td>\n",
       "      <td>中山大学广州校区南校园</td>\n",
       "      <td>[]</td>\n",
       "      <td>科教文化服务;学校;高等院校</td>\n",
       "      <td>141201</td>\n",
       "      <td>[]</td>\n",
       "      <td>新港西路135号</td>\n",
       "      <td>113.298415,23.096714</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[{'id': ' B00140TAV2 ', 'name': ' 中山大学南校区(北门) ...</td>\n",
       "      <td>[{'title': [], 'url': 'http://store.is.autonav...</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>4.5</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>B00140W6FI</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>广东交通职业技术学院花都校区</td>\n",
       "      <td>[]</td>\n",
       "      <td>科教文化服务;学校;高等院校</td>\n",
       "      <td>141201</td>\n",
       "      <td>[]</td>\n",
       "      <td>工业大道东11号</td>\n",
       "      <td>113.203282,23.366957</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[{'id': ' B00140UFHS ', 'name': ' 广东交通职业技术学院花都...</td>\n",
       "      <td>[{'title': [], 'url': 'http://store.is.autonav...</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>B001409A53</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>广东培正学院</td>\n",
       "      <td>[]</td>\n",
       "      <td>科教文化服务;学校;高等院校</td>\n",
       "      <td>141201</td>\n",
       "      <td>[]</td>\n",
       "      <td>培正路53号</td>\n",
       "      <td>113.090459,23.410542</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[{'id': ' B0FFIIMMY2 ', 'name': ' 广东培正学院(北门) '...</td>\n",
       "      <td>[{'title': [], 'url': 'http://store.is.autonav...</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>B00140BQCP</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>广州美术学院(大学城校区)</td>\n",
       "      <td>[]</td>\n",
       "      <td>科教文化服务;学校;高等院校</td>\n",
       "      <td>141201</td>\n",
       "      <td>[]</td>\n",
       "      <td>大学城外环西路168号</td>\n",
       "      <td>113.382675,23.038572</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[{'id': ' B00141J1UH ', 'name': ' 广州美术学院大学城校区(...</td>\n",
       "      <td>[{'title': '内景图', 'url': 'http://store.is.auto...</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>4.7</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>B00140WEMJ</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>广东外语外贸大学(北校区)</td>\n",
       "      <td>[]</td>\n",
       "      <td>科教文化服务;学校;高等院校</td>\n",
       "      <td>141201</td>\n",
       "      <td>[]</td>\n",
       "      <td>白云大道北2号</td>\n",
       "      <td>113.29248,23.200471</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[{'id': ' B00140B6G3 ', 'name': ' 广东外语外贸大学北校区(...</td>\n",
       "      <td>[{'title': [], 'url': 'http://store.is.autonav...</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>B00140UF1D</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>广东技术师范大学</td>\n",
       "      <td>[]</td>\n",
       "      <td>科教文化服务;学校;高等院校</td>\n",
       "      <td>141201</td>\n",
       "      <td>[]</td>\n",
       "      <td>中山大道西293号</td>\n",
       "      <td>113.371742,23.131147</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[{'id': ' B00140TVFC ', 'name': ' 广东技术师范大学(西南门...</td>\n",
       "      <td>[{'title': [], 'url': 'http://store.is.autonav...</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>B00141OISJ</td>\n",
       "      <td>B00140385E</td>\n",
       "      <td>309</td>\n",
       "      <td>广州中医药大学三元里校区</td>\n",
       "      <td>[]</td>\n",
       "      <td>科教文化服务;学校;高等院校</td>\n",
       "      <td>141201</td>\n",
       "      <td>[]</td>\n",
       "      <td>机场路12号</td>\n",
       "      <td>113.26713,23.156024</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[{'title': [], 'url': 'http://store.is.autonav...</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>4.0</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>B0FFGH24MR</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>暨南大学</td>\n",
       "      <td>[]</td>\n",
       "      <td>科教文化服务;学校;高等院校</td>\n",
       "      <td>141201</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>113.349402,23.133382</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[{'title': [], 'url': 'http://store.is.autonav...</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>4.4</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>B00140A367</td>\n",
       "      <td>B0FFK7GDEE</td>\n",
       "      <td>309</td>\n",
       "      <td>广州大学桂花岗校区</td>\n",
       "      <td>[]</td>\n",
       "      <td>科教文化服务;学校;高等院校</td>\n",
       "      <td>141201</td>\n",
       "      <td>[]</td>\n",
       "      <td>桂花岗东1号</td>\n",
       "      <td>113.266066,23.149009</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[{'id': ' B00140UG32 ', 'name': ' 广州大学桂花岗校区(东北...</td>\n",
       "      <td>[{'title': '内景图', 'url': 'http://store.is.auto...</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>B00140TVAS</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>昆明理工大学(广州校区)</td>\n",
       "      <td>[]</td>\n",
       "      <td>科教文化服务;学校;高等院校</td>\n",
       "      <td>141201</td>\n",
       "      <td>[]</td>\n",
       "      <td>中山大道中车陂北街28号</td>\n",
       "      <td>113.399378,23.128946</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[{'title': [], 'url': 'http://store.is.autonav...</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>3.0</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>B0FFIPCYV7</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>广州经济技术开发区行政学院</td>\n",
       "      <td>[]</td>\n",
       "      <td>科教文化服务;学校;高等院校</td>\n",
       "      <td>141201</td>\n",
       "      <td>[]</td>\n",
       "      <td>开发大道350号</td>\n",
       "      <td>113.525724,23.059868</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[{'title': [], 'url': 'http://store.is.autonav...</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>B0FFG8723C</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>广州工程技术职业学院(黄埔校区)</td>\n",
       "      <td>[]</td>\n",
       "      <td>科教文化服务;学校;高等院校</td>\n",
       "      <td>141201</td>\n",
       "      <td>[]</td>\n",
       "      <td>文冲街石化路石化大院166号</td>\n",
       "      <td>113.472697,23.10515</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[{'title': [], 'url': 'http://store.is.autonav...</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>B0FFG5CSH0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>湘南学院实习教学基地</td>\n",
       "      <td>[]</td>\n",
       "      <td>科教文化服务;学校;高等院校</td>\n",
       "      <td>141201</td>\n",
       "      <td>[]</td>\n",
       "      <td>温泉东路117号附近</td>\n",
       "      <td>113.653704,23.653237</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[{'title': [], 'url': 'http://store.is.autonav...</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>B0FFFV9MAC</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>广州民航职业技术学院(花都赤坭校区)</td>\n",
       "      <td>[]</td>\n",
       "      <td>科教文化服务;学校;高等院校</td>\n",
       "      <td>141201</td>\n",
       "      <td>[]</td>\n",
       "      <td>赤坭镇</td>\n",
       "      <td>113.104034,23.395655</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[{'title': [], 'url': 'http://store.is.autonav...</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>B0FFFAIKXG</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>广州商学院</td>\n",
       "      <td>[]</td>\n",
       "      <td>科教文化服务;学校;高等院校</td>\n",
       "      <td>141201</td>\n",
       "      <td>[]</td>\n",
       "      <td>九龙镇九龙大道</td>\n",
       "      <td>113.56882,23.303876</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[{'title': '外景图', 'url': 'http://store.is.auto...</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>B00141KFHP</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>南方医科大学</td>\n",
       "      <td>[]</td>\n",
       "      <td>科教文化服务;学校;高等院校</td>\n",
       "      <td>141201</td>\n",
       "      <td>[]</td>\n",
       "      <td>沙太南路1023-1063号</td>\n",
       "      <td>113.333184,23.187549</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[{'title': '外景图', 'url': 'http://store.is.auto...</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>B00141KFAQ</td>\n",
       "      <td>B0FFK4HKF5</td>\n",
       "      <td>309</td>\n",
       "      <td>广州工程技术职业学院龙洞校区</td>\n",
       "      <td>[]</td>\n",
       "      <td>科教文化服务;学校;高等院校</td>\n",
       "      <td>141201</td>\n",
       "      <td>[]</td>\n",
       "      <td>龙洞街道天源路1121号</td>\n",
       "      <td>113.360274,23.19088</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[{'id': ' B00141PSD3 ', 'name': ' 广州工程技术职业学院龙洞...</td>\n",
       "      <td>[{'title': '外景图', 'url': 'http://store.is.auto...</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>B00141JRFZ</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>广东第二师范学院(花都校区)</td>\n",
       "      <td>[]</td>\n",
       "      <td>科教文化服务;学校;高等院校</td>\n",
       "      <td>141201</td>\n",
       "      <td>[]</td>\n",
       "      <td>迎宾大道西30号</td>\n",
       "      <td>113.185576,23.404948</td>\n",
       "      <td>...</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[{'title': [], 'url': 'http://store.is.autonav...</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>20 rows × 46 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "            id      parent childtype                name tag            type  \\\n",
       "0   B00140458B          []        []        广东工业大学(龙洞校区)  []  科教文化服务;学校;高等院校   \n",
       "1   B0FFFFQZDE          []        []          广州医科大学越秀校区  []  科教文化服务;学校;高等院校   \n",
       "2   B00141IHRZ  B0FFIGLX5N       309         中山大学广州校区南校园  []  科教文化服务;学校;高等院校   \n",
       "3   B00140W6FI          []        []      广东交通职业技术学院花都校区  []  科教文化服务;学校;高等院校   \n",
       "4   B001409A53          []        []              广东培正学院  []  科教文化服务;学校;高等院校   \n",
       "5   B00140BQCP          []        []       广州美术学院(大学城校区)  []  科教文化服务;学校;高等院校   \n",
       "6   B00140WEMJ          []        []       广东外语外贸大学(北校区)  []  科教文化服务;学校;高等院校   \n",
       "7   B00140UF1D          []        []            广东技术师范大学  []  科教文化服务;学校;高等院校   \n",
       "8   B00141OISJ  B00140385E       309        广州中医药大学三元里校区  []  科教文化服务;学校;高等院校   \n",
       "9   B0FFGH24MR          []        []                暨南大学  []  科教文化服务;学校;高等院校   \n",
       "10  B00140A367  B0FFK7GDEE       309           广州大学桂花岗校区  []  科教文化服务;学校;高等院校   \n",
       "11  B00140TVAS          []        []        昆明理工大学(广州校区)  []  科教文化服务;学校;高等院校   \n",
       "12  B0FFIPCYV7          []        []       广州经济技术开发区行政学院  []  科教文化服务;学校;高等院校   \n",
       "13  B0FFG8723C          []        []    广州工程技术职业学院(黄埔校区)  []  科教文化服务;学校;高等院校   \n",
       "14  B0FFG5CSH0          []        []          湘南学院实习教学基地  []  科教文化服务;学校;高等院校   \n",
       "15  B0FFFV9MAC          []        []  广州民航职业技术学院(花都赤坭校区)  []  科教文化服务;学校;高等院校   \n",
       "16  B0FFFAIKXG          []        []               广州商学院  []  科教文化服务;学校;高等院校   \n",
       "17  B00141KFHP          []        []              南方医科大学  []  科教文化服务;学校;高等院校   \n",
       "18  B00141KFAQ  B0FFK4HKF5       309      广州工程技术职业学院龙洞校区  []  科教文化服务;学校;高等院校   \n",
       "19  B00141JRFZ          []        []      广东第二师范学院(花都校区)  []  科教文化服务;学校;高等院校   \n",
       "\n",
       "   typecode biz_type         address              location  ... discount_num  \\\n",
       "0    141201       []         迎龙路161号   113.359713,23.19677  ...            0   \n",
       "1    141201       []        东风西路195号  113.256131,23.134038  ...            0   \n",
       "2    141201       []        新港西路135号  113.298415,23.096714  ...            0   \n",
       "3    141201       []        工业大道东11号  113.203282,23.366957  ...            0   \n",
       "4    141201       []          培正路53号  113.090459,23.410542  ...            0   \n",
       "5    141201       []     大学城外环西路168号  113.382675,23.038572  ...            0   \n",
       "6    141201       []         白云大道北2号   113.29248,23.200471  ...            0   \n",
       "7    141201       []       中山大道西293号  113.371742,23.131147  ...            0   \n",
       "8    141201       []          机场路12号   113.26713,23.156024  ...            0   \n",
       "9    141201       []              []  113.349402,23.133382  ...            0   \n",
       "10   141201       []          桂花岗东1号  113.266066,23.149009  ...            0   \n",
       "11   141201       []    中山大道中车陂北街28号  113.399378,23.128946  ...            0   \n",
       "12   141201       []        开发大道350号  113.525724,23.059868  ...            0   \n",
       "13   141201       []  文冲街石化路石化大院166号   113.472697,23.10515  ...            0   \n",
       "14   141201       []      温泉东路117号附近  113.653704,23.653237  ...            0   \n",
       "15   141201       []             赤坭镇  113.104034,23.395655  ...            0   \n",
       "16   141201       []         九龙镇九龙大道   113.56882,23.303876  ...            0   \n",
       "17   141201       []  沙太南路1023-1063号  113.333184,23.187549  ...            0   \n",
       "18   141201       []    龙洞街道天源路1121号   113.360274,23.19088  ...            0   \n",
       "19   141201       []        迎宾大道西30号  113.185576,23.404948  ...            0   \n",
       "\n",
       "   event                                           children  \\\n",
       "0     []  [{'id': ' B00141HYUW ', 'name': ' 广东工业大学龙洞校区(东...   \n",
       "1     []                                                 []   \n",
       "2     []  [{'id': ' B00140TAV2 ', 'name': ' 中山大学南校区(北门) ...   \n",
       "3     []  [{'id': ' B00140UFHS ', 'name': ' 广东交通职业技术学院花都...   \n",
       "4     []  [{'id': ' B0FFIIMMY2 ', 'name': ' 广东培正学院(北门) '...   \n",
       "5     []  [{'id': ' B00141J1UH ', 'name': ' 广州美术学院大学城校区(...   \n",
       "6     []  [{'id': ' B00140B6G3 ', 'name': ' 广东外语外贸大学北校区(...   \n",
       "7     []  [{'id': ' B00140TVFC ', 'name': ' 广东技术师范大学(西南门...   \n",
       "8     []                                                 []   \n",
       "9     []                                                 []   \n",
       "10    []  [{'id': ' B00140UG32 ', 'name': ' 广州大学桂花岗校区(东北...   \n",
       "11    []                                                 []   \n",
       "12    []                                                 []   \n",
       "13    []                                                 []   \n",
       "14    []                                                 []   \n",
       "15    []                                                 []   \n",
       "16    []                                                 []   \n",
       "17    []                                                 []   \n",
       "18    []  [{'id': ' B00141PSD3 ', 'name': ' 广州工程技术职业学院龙洞...   \n",
       "19    []                                                 []   \n",
       "\n",
       "                                               photos indoor_data.cpid  \\\n",
       "0   [{'title': '内景图', 'url': 'http://store.is.auto...               []   \n",
       "1   [{'title': '内景图', 'url': 'http://store.is.auto...               []   \n",
       "2   [{'title': [], 'url': 'http://store.is.autonav...               []   \n",
       "3   [{'title': [], 'url': 'http://store.is.autonav...               []   \n",
       "4   [{'title': [], 'url': 'http://store.is.autonav...               []   \n",
       "5   [{'title': '内景图', 'url': 'http://store.is.auto...               []   \n",
       "6   [{'title': [], 'url': 'http://store.is.autonav...               []   \n",
       "7   [{'title': [], 'url': 'http://store.is.autonav...               []   \n",
       "8   [{'title': [], 'url': 'http://store.is.autonav...               []   \n",
       "9   [{'title': [], 'url': 'http://store.is.autonav...               []   \n",
       "10  [{'title': '内景图', 'url': 'http://store.is.auto...               []   \n",
       "11  [{'title': [], 'url': 'http://store.is.autonav...               []   \n",
       "12  [{'title': [], 'url': 'http://store.is.autonav...               []   \n",
       "13  [{'title': [], 'url': 'http://store.is.autonav...               []   \n",
       "14  [{'title': [], 'url': 'http://store.is.autonav...               []   \n",
       "15  [{'title': [], 'url': 'http://store.is.autonav...               []   \n",
       "16  [{'title': '外景图', 'url': 'http://store.is.auto...               []   \n",
       "17  [{'title': '外景图', 'url': 'http://store.is.auto...               []   \n",
       "18  [{'title': '外景图', 'url': 'http://store.is.auto...               []   \n",
       "19  [{'title': [], 'url': 'http://store.is.autonav...               []   \n",
       "\n",
       "   indoor_data.floor indoor_data.truefloor indoor_data.cmsid biz_ext.rating  \\\n",
       "0                 []                    []                []             []   \n",
       "1                 []                    []                []             []   \n",
       "2                 []                    []                []            4.5   \n",
       "3                 []                    []                []             []   \n",
       "4                 []                    []                []             []   \n",
       "5                 []                    []                []            4.7   \n",
       "6                 []                    []                []             []   \n",
       "7                 []                    []                []             []   \n",
       "8                 []                    []                []            4.0   \n",
       "9                 []                    []                []            4.4   \n",
       "10                []                    []                []             []   \n",
       "11                []                    []                []            3.0   \n",
       "12                []                    []                []             []   \n",
       "13                []                    []                []             []   \n",
       "14                []                    []                []             []   \n",
       "15                []                    []                []             []   \n",
       "16                []                    []                []             []   \n",
       "17                []                    []                []             []   \n",
       "18                []                    []                []             []   \n",
       "19                []                    []                []             []   \n",
       "\n",
       "   biz_ext.cost  \n",
       "0            []  \n",
       "1            []  \n",
       "2            []  \n",
       "3            []  \n",
       "4            []  \n",
       "5            []  \n",
       "6            []  \n",
       "7            []  \n",
       "8            []  \n",
       "9            []  \n",
       "10           []  \n",
       "11           []  \n",
       "12           []  \n",
       "13           []  \n",
       "14           []  \n",
       "15           []  \n",
       "16           []  \n",
       "17           []  \n",
       "18           []  \n",
       "19           []  \n",
       "\n",
       "[20 rows x 46 columns]"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>id</th>\n",
       "      <th>name</th>\n",
       "      <th>sname</th>\n",
       "      <th>location</th>\n",
       "      <th>address</th>\n",
       "      <th>distance</th>\n",
       "      <th>subtype</th>\n",
       "      <th>typecode</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>B00140TVFC</td>\n",
       "      <td>广东技术师范大学(西南门)</td>\n",
       "      <td>西南门</td>\n",
       "      <td>113.371504,23.129789</td>\n",
       "      <td>中山大道西293号</td>\n",
       "      <td>0</td>\n",
       "      <td>门</td>\n",
       "      <td>991401</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "             id             name  sname              location      address  \\\n",
       "0   B00140TVFC    广东技术师范大学(西南门)    西南门   113.371504,23.129789   中山大道西293号    \n",
       "\n",
       "  distance subtype  typecode  \n",
       "0       0        门   991401   "
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "df_广州_大学 = pd.json_normalize(广州_大学[\"pois\"])\n",
    "df_广州_大学_广东技术师范大学 = pd.json_normalize(广州_大学[\"pois\"][7][\"children\"])\n",
    "display(df_广州_大学,df_广州_大学_广东技术师范大学)\n"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### 周边搜索 (代码F)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 22,
   "metadata": {
    "ExecuteTime": {
     "end_time": "2020-04-22T11:17:14.619844Z",
     "start_time": "2020-04-22T11:17:14.613849Z"
    }
   },
   "outputs": [],
   "source": [
    "# F-1 \n",
    "def place_around(location,keywords=None,types=None,city=None,redius=None,sortrule=None,offset=None,page=None,extensions='base',sig=None)->dict:\n",
    "    url = 'https://restapi.amap.com/v3/place/around?parameters'\n",
    "    params={\n",
    "        'key':key_zyi,\n",
    "        'keywords':keywords,\n",
    "        'location':location,\n",
    "        'types':types,\n",
    "        'city':city,\n",
    "        'redius':redius,\n",
    "        'sortrule':sortrule,\n",
    "        'offset':offset,\n",
    "        'page':page,\n",
    "        'extensions':extensions,\n",
    "        'output':'json'\n",
    "    }\n",
    "    response = requests.get(url,params=params)\n",
    "    data = response.json()\n",
    "    return data\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 23,
   "metadata": {
    "ExecuteTime": {
     "end_time": "2020-04-22T11:17:15.037561Z",
     "start_time": "2020-04-22T11:17:14.620838Z"
    }
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "{'status': '1',\n",
       " 'count': '843',\n",
       " 'info': 'OK',\n",
       " 'infocode': '10000',\n",
       " 'suggestion': {'keywords': [], 'cities': []},\n",
       " 'pois': [{'id': 'B0FFLIND01',\n",
       "   'parent': [],\n",
       "   'childtype': [],\n",
       "   'name': '鲜粮卷饼王',\n",
       "   'type': '餐饮服务;餐饮相关场所;餐饮相关',\n",
       "   'typecode': '050000',\n",
       "   'biz_type': 'diner',\n",
       "   'address': '阜荣街10号悦食里美食城B14号',\n",
       "   'location': '116.473344,39.992997',\n",
       "   'tel': [],\n",
       "   'distance': '15',\n",
       "   'biz_ext': [],\n",
       "   'importance': [],\n",
       "   'shopid': [],\n",
       "   'shopinfo': '1',\n",
       "   'poiweight': [],\n",
       "   'photos': []},\n",
       "  {'id': 'B0FFLH9QP5',\n",
       "   'parent': [],\n",
       "   'childtype': [],\n",
       "   'name': '1516串串香火锅(望京一店)',\n",
       "   'type': '餐饮服务;中餐厅;火锅店',\n",
       "   'typecode': '050117',\n",
       "   'biz_type': 'diner',\n",
       "   'address': '阜荣街10号',\n",
       "   'location': '116.473197,39.993211',\n",
       "   'tel': [],\n",
       "   'distance': '21',\n",
       "   'biz_ext': [],\n",
       "   'importance': [],\n",
       "   'shopid': [],\n",
       "   'shopinfo': '1',\n",
       "   'poiweight': [],\n",
       "   'photos': []},\n",
       "  {'id': 'B0FFKGPPFW',\n",
       "   'parent': 'B0FFFAB6J2',\n",
       "   'childtype': '201',\n",
       "   'name': '妈妈乐(首开广场)',\n",
       "   'type': '生活服务;生活服务场所;生活服务场所',\n",
       "   'typecode': '070000',\n",
       "   'biz_type': [],\n",
       "   'address': '阜荣街10号首开广场F6层',\n",
       "   'location': '116.473267,39.992781',\n",
       "   'tel': [],\n",
       "   'distance': '27',\n",
       "   'biz_ext': [],\n",
       "   'importance': [],\n",
       "   'shopid': [],\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'photos': []},\n",
       "  {'id': 'B0FFKGPPFX',\n",
       "   'parent': 'B0FFFAB6J2',\n",
       "   'childtype': '201',\n",
       "   'name': '宝贝计划(首开广场)',\n",
       "   'type': '生活服务;生活服务场所;生活服务场所',\n",
       "   'typecode': '070000',\n",
       "   'biz_type': [],\n",
       "   'address': '阜荣街10号首开广场F6层',\n",
       "   'location': '116.473305,39.992758',\n",
       "   'tel': [],\n",
       "   'distance': '30',\n",
       "   'biz_ext': [],\n",
       "   'importance': [],\n",
       "   'shopid': [],\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'photos': []},\n",
       "  {'id': 'B0FFKGPPFV',\n",
       "   'parent': 'B0FFFAB6J2',\n",
       "   'childtype': '201',\n",
       "   'name': '妈妈乐(首开广场)',\n",
       "   'type': '生活服务;生活服务场所;生活服务场所',\n",
       "   'typecode': '070000',\n",
       "   'biz_type': [],\n",
       "   'address': '阜荣街10号首开广场F7层',\n",
       "   'location': '116.473223,39.992737',\n",
       "   'tel': [],\n",
       "   'distance': '31',\n",
       "   'biz_ext': [],\n",
       "   'importance': [],\n",
       "   'shopid': [],\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'photos': []},\n",
       "  {'id': 'B0FFKGPPFY',\n",
       "   'parent': 'B0FFFAB6J2',\n",
       "   'childtype': '201',\n",
       "   'name': '宝贝计划(首开广场)',\n",
       "   'type': '生活服务;生活服务场所;生活服务场所',\n",
       "   'typecode': '070000',\n",
       "   'biz_type': [],\n",
       "   'address': '阜荣街10号首开广场F7层',\n",
       "   'location': '116.473188,39.992705',\n",
       "   'tel': [],\n",
       "   'distance': '34',\n",
       "   'biz_ext': [],\n",
       "   'importance': [],\n",
       "   'shopid': [],\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'photos': []},\n",
       "  {'id': 'B0FFFAB6J2',\n",
       "   'parent': [],\n",
       "   'childtype': [],\n",
       "   'name': '首开广场',\n",
       "   'type': '商务住宅;楼宇;商务写字楼',\n",
       "   'typecode': '120201',\n",
       "   'biz_type': [],\n",
       "   'address': '阜荣街10号',\n",
       "   'location': '116.473004,39.993306',\n",
       "   'tel': [],\n",
       "   'distance': '35',\n",
       "   'biz_ext': [],\n",
       "   'importance': [],\n",
       "   'shopid': [],\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'photos': []},\n",
       "  {'id': 'B0FFJSZCUX',\n",
       "   'parent': [],\n",
       "   'childtype': [],\n",
       "   'name': '环球创意广场',\n",
       "   'type': '商务住宅;商务住宅相关;商务住宅相关',\n",
       "   'typecode': '120000',\n",
       "   'biz_type': [],\n",
       "   'address': '阜荣街10号',\n",
       "   'location': '116.473495,39.993236',\n",
       "   'tel': '010-64733002',\n",
       "   'distance': '37',\n",
       "   'biz_ext': [],\n",
       "   'importance': [],\n",
       "   'shopid': [],\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'photos': []},\n",
       "  {'id': 'B0FFLIN7XY',\n",
       "   'parent': [],\n",
       "   'childtype': [],\n",
       "   'name': '薯小帅',\n",
       "   'type': '餐饮服务;餐饮相关场所;餐饮相关',\n",
       "   'typecode': '050000',\n",
       "   'biz_type': 'diner',\n",
       "   'address': '望京悦食里美食街区B1层B4-1',\n",
       "   'location': '116.472952,39.993471',\n",
       "   'tel': '15975103110',\n",
       "   'distance': '54',\n",
       "   'biz_ext': [],\n",
       "   'importance': [],\n",
       "   'shopid': [],\n",
       "   'shopinfo': '1',\n",
       "   'poiweight': [],\n",
       "   'photos': []},\n",
       "  {'id': 'B0FFKTCCC1',\n",
       "   'parent': 'B000A8386E',\n",
       "   'childtype': '202',\n",
       "   'name': '麦多馅饼',\n",
       "   'type': '餐饮服务;快餐厅;快餐厅',\n",
       "   'typecode': '050300',\n",
       "   'biz_type': 'diner',\n",
       "   'address': '阜安西路东亚望京中心B座一层思美捷图文快印',\n",
       "   'location': '116.472755,39.992431',\n",
       "   'tel': '15210853340',\n",
       "   'distance': '73',\n",
       "   'biz_ext': [],\n",
       "   'importance': [],\n",
       "   'shopid': [],\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'photos': []},\n",
       "  {'id': 'B0FFFOIRP0',\n",
       "   'parent': 'B000A8386E',\n",
       "   'childtype': '202',\n",
       "   'name': '速达电脑维修',\n",
       "   'type': '生活服务;维修站点;维修站点',\n",
       "   'typecode': '071200',\n",
       "   'biz_type': [],\n",
       "   'address': '广顺南大街33号东亚望京中心B座104号',\n",
       "   'location': '116.472760,39.992362',\n",
       "   'tel': '010-56224442;010-56226662',\n",
       "   'distance': '80',\n",
       "   'biz_ext': [],\n",
       "   'importance': [],\n",
       "   'shopid': [],\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'photos': []},\n",
       "  {'id': 'B0FFKEMKYU',\n",
       "   'parent': 'B000A8386E',\n",
       "   'childtype': '202',\n",
       "   'name': '微软Surface笔记本电脑客户服务中心(望京中心店)',\n",
       "   'type': '生活服务;生活服务场所;生活服务场所',\n",
       "   'typecode': '070000',\n",
       "   'biz_type': [],\n",
       "   'address': '望京园402号东亚望京中心B座3层309室微软Surface笔记本电脑售后维修中心',\n",
       "   'location': '116.472964,39.992306',\n",
       "   'tel': '010-52462519',\n",
       "   'distance': '80',\n",
       "   'biz_ext': [],\n",
       "   'importance': [],\n",
       "   'shopid': [],\n",
       "   'shopinfo': '1',\n",
       "   'poiweight': [],\n",
       "   'photos': []},\n",
       "  {'id': 'B0FFIYEOPB',\n",
       "   'parent': 'B000A8386E',\n",
       "   'childtype': '202',\n",
       "   'name': '施华蔻美发连锁(望京店)',\n",
       "   'type': '生活服务;美容美发店;美容美发店',\n",
       "   'typecode': '071100',\n",
       "   'biz_type': [],\n",
       "   'address': '广顺南大街东亚望京中心B座22-06室',\n",
       "   'location': '116.472838,39.992319',\n",
       "   'tel': '18713705115;18810257184',\n",
       "   'distance': '82',\n",
       "   'biz_ext': [],\n",
       "   'importance': [],\n",
       "   'shopid': [],\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'photos': []},\n",
       "  {'id': 'B0FFJMRLGR',\n",
       "   'parent': 'B000A8386E',\n",
       "   'childtype': '202',\n",
       "   'name': '翰皇专业洗衣洗鞋皮具保养店',\n",
       "   'type': '生活服务;生活服务场所;生活服务场所',\n",
       "   'typecode': '070000',\n",
       "   'biz_type': [],\n",
       "   'address': '广顺南大街东亚望京中心B座103',\n",
       "   'location': '116.472680,39.992370',\n",
       "   'tel': '010-84786857;15990998950',\n",
       "   'distance': '82',\n",
       "   'biz_ext': [],\n",
       "   'importance': [],\n",
       "   'shopid': [],\n",
       "   'shopinfo': '1',\n",
       "   'poiweight': [],\n",
       "   'photos': []},\n",
       "  {'id': 'B0FFG96XH9',\n",
       "   'parent': [],\n",
       "   'childtype': [],\n",
       "   'name': '聚宝盆养生',\n",
       "   'type': '生活服务;洗浴推拿场所;洗浴推拿场所',\n",
       "   'typecode': '071400',\n",
       "   'biz_type': [],\n",
       "   'address': '望京园401东亚望京中心B202',\n",
       "   'location': '116.472935,39.992283',\n",
       "   'tel': [],\n",
       "   'distance': '83',\n",
       "   'biz_ext': [],\n",
       "   'importance': [],\n",
       "   'shopid': [],\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'photos': []},\n",
       "  {'id': 'B0FFL1TIR5',\n",
       "   'parent': 'B000A8386E',\n",
       "   'childtype': '202',\n",
       "   'name': 'J灵韵无菌半永久眉眼唇定妆',\n",
       "   'type': '生活服务;美容美发店;美容美发店',\n",
       "   'typecode': '071100',\n",
       "   'biz_type': [],\n",
       "   'address': '阜安西路东亚望京中心b座2803',\n",
       "   'location': '116.472974,39.992273',\n",
       "   'tel': '13717684348',\n",
       "   'distance': '84',\n",
       "   'biz_ext': [],\n",
       "   'importance': [],\n",
       "   'shopid': [],\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'photos': []},\n",
       "  {'id': 'B0FFJCXION',\n",
       "   'parent': 'B000A8386E',\n",
       "   'childtype': '202',\n",
       "   'name': '花想容生活馆',\n",
       "   'type': '生活服务;生活服务场所;生活服务场所',\n",
       "   'typecode': '070000',\n",
       "   'biz_type': [],\n",
       "   'address': '阜安西路东亚望京中心B座3015',\n",
       "   'location': '116.472894,39.992287',\n",
       "   'tel': '15101630359',\n",
       "   'distance': '84',\n",
       "   'biz_ext': [],\n",
       "   'importance': [],\n",
       "   'shopid': [],\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'photos': []},\n",
       "  {'id': 'B0FFH0VVZ7',\n",
       "   'parent': 'B000A8386E',\n",
       "   'childtype': '202',\n",
       "   'name': '中国兰州牛肉拉面(望京店)',\n",
       "   'type': '餐饮服务;中餐厅;中餐厅',\n",
       "   'typecode': '050100',\n",
       "   'biz_type': 'diner',\n",
       "   'address': '广顺南大街望京东亚中心B座1层底商106中国兰州拉面',\n",
       "   'location': '116.472534,39.992413',\n",
       "   'tel': '18510911614',\n",
       "   'distance': '86',\n",
       "   'biz_ext': [],\n",
       "   'importance': [],\n",
       "   'shopid': [],\n",
       "   'shopinfo': '1',\n",
       "   'poiweight': [],\n",
       "   'photos': []},\n",
       "  {'id': 'B0FFKWXI0F',\n",
       "   'parent': 'B000A8386E',\n",
       "   'childtype': '202',\n",
       "   'name': '外星人笔记本电脑服务中心(朝阳区店)',\n",
       "   'type': '生活服务;生活服务场所;生活服务场所',\n",
       "   'typecode': '070000',\n",
       "   'biz_type': [],\n",
       "   'address': '望京园402号东亚望京中心B座3层309H室',\n",
       "   'location': '116.472927,39.992263',\n",
       "   'tel': '010-82678232;010-82621980',\n",
       "   'distance': '86',\n",
       "   'biz_ext': [],\n",
       "   'importance': [],\n",
       "   'shopid': [],\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'photos': []},\n",
       "  {'id': 'B0FFH9RFW2',\n",
       "   'parent': 'B000A8386E',\n",
       "   'childtype': '202',\n",
       "   'name': '三鑫人力',\n",
       "   'type': '生活服务;人才市场;人才市场',\n",
       "   'typecode': '070800',\n",
       "   'biz_type': [],\n",
       "   'address': '东亚望京中心B座2712室',\n",
       "   'location': '116.472789,39.992290',\n",
       "   'tel': '010-53390935;13520727758',\n",
       "   'distance': '86',\n",
       "   'biz_ext': [],\n",
       "   'importance': [],\n",
       "   'shopid': [],\n",
       "   'shopinfo': '0',\n",
       "   'poiweight': [],\n",
       "   'photos': []}]}"
      ]
     },
     "execution_count": 23,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# F-2 json信息\n",
    "中山大学_周边POI = place_around('116.473168,39.993015')\n",
    "中山大学_周边POI"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 24,
   "metadata": {
    "ExecuteTime": {
     "end_time": "2020-04-22T11:17:15.079448Z",
     "start_time": "2020-04-22T11:17:15.038572Z"
    }
   },
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>id</th>\n",
       "      <th>parent</th>\n",
       "      <th>childtype</th>\n",
       "      <th>name</th>\n",
       "      <th>type</th>\n",
       "      <th>typecode</th>\n",
       "      <th>biz_type</th>\n",
       "      <th>address</th>\n",
       "      <th>location</th>\n",
       "      <th>tel</th>\n",
       "      <th>distance</th>\n",
       "      <th>biz_ext</th>\n",
       "      <th>importance</th>\n",
       "      <th>shopid</th>\n",
       "      <th>shopinfo</th>\n",
       "      <th>poiweight</th>\n",
       "      <th>photos</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>B0FFLIND01</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>鲜粮卷饼王</td>\n",
       "      <td>餐饮服务;餐饮相关场所;餐饮相关</td>\n",
       "      <td>050000</td>\n",
       "      <td>diner</td>\n",
       "      <td>阜荣街10号悦食里美食城B14号</td>\n",
       "      <td>116.473344,39.992997</td>\n",
       "      <td>[]</td>\n",
       "      <td>15</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>1</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>B0FFLH9QP5</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>1516串串香火锅(望京一店)</td>\n",
       "      <td>餐饮服务;中餐厅;火锅店</td>\n",
       "      <td>050117</td>\n",
       "      <td>diner</td>\n",
       "      <td>阜荣街10号</td>\n",
       "      <td>116.473197,39.993211</td>\n",
       "      <td>[]</td>\n",
       "      <td>21</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>1</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>B0FFKGPPFW</td>\n",
       "      <td>B0FFFAB6J2</td>\n",
       "      <td>201</td>\n",
       "      <td>妈妈乐(首开广场)</td>\n",
       "      <td>生活服务;生活服务场所;生活服务场所</td>\n",
       "      <td>070000</td>\n",
       "      <td>[]</td>\n",
       "      <td>阜荣街10号首开广场F6层</td>\n",
       "      <td>116.473267,39.992781</td>\n",
       "      <td>[]</td>\n",
       "      <td>27</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>B0FFKGPPFX</td>\n",
       "      <td>B0FFFAB6J2</td>\n",
       "      <td>201</td>\n",
       "      <td>宝贝计划(首开广场)</td>\n",
       "      <td>生活服务;生活服务场所;生活服务场所</td>\n",
       "      <td>070000</td>\n",
       "      <td>[]</td>\n",
       "      <td>阜荣街10号首开广场F6层</td>\n",
       "      <td>116.473305,39.992758</td>\n",
       "      <td>[]</td>\n",
       "      <td>30</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>B0FFKGPPFV</td>\n",
       "      <td>B0FFFAB6J2</td>\n",
       "      <td>201</td>\n",
       "      <td>妈妈乐(首开广场)</td>\n",
       "      <td>生活服务;生活服务场所;生活服务场所</td>\n",
       "      <td>070000</td>\n",
       "      <td>[]</td>\n",
       "      <td>阜荣街10号首开广场F7层</td>\n",
       "      <td>116.473223,39.992737</td>\n",
       "      <td>[]</td>\n",
       "      <td>31</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>B0FFKGPPFY</td>\n",
       "      <td>B0FFFAB6J2</td>\n",
       "      <td>201</td>\n",
       "      <td>宝贝计划(首开广场)</td>\n",
       "      <td>生活服务;生活服务场所;生活服务场所</td>\n",
       "      <td>070000</td>\n",
       "      <td>[]</td>\n",
       "      <td>阜荣街10号首开广场F7层</td>\n",
       "      <td>116.473188,39.992705</td>\n",
       "      <td>[]</td>\n",
       "      <td>34</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>B0FFFAB6J2</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>首开广场</td>\n",
       "      <td>商务住宅;楼宇;商务写字楼</td>\n",
       "      <td>120201</td>\n",
       "      <td>[]</td>\n",
       "      <td>阜荣街10号</td>\n",
       "      <td>116.473004,39.993306</td>\n",
       "      <td>[]</td>\n",
       "      <td>35</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>B0FFJSZCUX</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>环球创意广场</td>\n",
       "      <td>商务住宅;商务住宅相关;商务住宅相关</td>\n",
       "      <td>120000</td>\n",
       "      <td>[]</td>\n",
       "      <td>阜荣街10号</td>\n",
       "      <td>116.473495,39.993236</td>\n",
       "      <td>010-64733002</td>\n",
       "      <td>37</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>B0FFLIN7XY</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>薯小帅</td>\n",
       "      <td>餐饮服务;餐饮相关场所;餐饮相关</td>\n",
       "      <td>050000</td>\n",
       "      <td>diner</td>\n",
       "      <td>望京悦食里美食街区B1层B4-1</td>\n",
       "      <td>116.472952,39.993471</td>\n",
       "      <td>15975103110</td>\n",
       "      <td>54</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>1</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>B0FFKTCCC1</td>\n",
       "      <td>B000A8386E</td>\n",
       "      <td>202</td>\n",
       "      <td>麦多馅饼</td>\n",
       "      <td>餐饮服务;快餐厅;快餐厅</td>\n",
       "      <td>050300</td>\n",
       "      <td>diner</td>\n",
       "      <td>阜安西路东亚望京中心B座一层思美捷图文快印</td>\n",
       "      <td>116.472755,39.992431</td>\n",
       "      <td>15210853340</td>\n",
       "      <td>73</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>B0FFFOIRP0</td>\n",
       "      <td>B000A8386E</td>\n",
       "      <td>202</td>\n",
       "      <td>速达电脑维修</td>\n",
       "      <td>生活服务;维修站点;维修站点</td>\n",
       "      <td>071200</td>\n",
       "      <td>[]</td>\n",
       "      <td>广顺南大街33号东亚望京中心B座104号</td>\n",
       "      <td>116.472760,39.992362</td>\n",
       "      <td>010-56224442;010-56226662</td>\n",
       "      <td>80</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>B0FFKEMKYU</td>\n",
       "      <td>B000A8386E</td>\n",
       "      <td>202</td>\n",
       "      <td>微软Surface笔记本电脑客户服务中心(望京中心店)</td>\n",
       "      <td>生活服务;生活服务场所;生活服务场所</td>\n",
       "      <td>070000</td>\n",
       "      <td>[]</td>\n",
       "      <td>望京园402号东亚望京中心B座3层309室微软Surface笔记本电脑售后维修中心</td>\n",
       "      <td>116.472964,39.992306</td>\n",
       "      <td>010-52462519</td>\n",
       "      <td>80</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>1</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>B0FFIYEOPB</td>\n",
       "      <td>B000A8386E</td>\n",
       "      <td>202</td>\n",
       "      <td>施华蔻美发连锁(望京店)</td>\n",
       "      <td>生活服务;美容美发店;美容美发店</td>\n",
       "      <td>071100</td>\n",
       "      <td>[]</td>\n",
       "      <td>广顺南大街东亚望京中心B座22-06室</td>\n",
       "      <td>116.472838,39.992319</td>\n",
       "      <td>18713705115;18810257184</td>\n",
       "      <td>82</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>B0FFJMRLGR</td>\n",
       "      <td>B000A8386E</td>\n",
       "      <td>202</td>\n",
       "      <td>翰皇专业洗衣洗鞋皮具保养店</td>\n",
       "      <td>生活服务;生活服务场所;生活服务场所</td>\n",
       "      <td>070000</td>\n",
       "      <td>[]</td>\n",
       "      <td>广顺南大街东亚望京中心B座103</td>\n",
       "      <td>116.472680,39.992370</td>\n",
       "      <td>010-84786857;15990998950</td>\n",
       "      <td>82</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>1</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>B0FFG96XH9</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>聚宝盆养生</td>\n",
       "      <td>生活服务;洗浴推拿场所;洗浴推拿场所</td>\n",
       "      <td>071400</td>\n",
       "      <td>[]</td>\n",
       "      <td>望京园401东亚望京中心B202</td>\n",
       "      <td>116.472935,39.992283</td>\n",
       "      <td>[]</td>\n",
       "      <td>83</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>B0FFL1TIR5</td>\n",
       "      <td>B000A8386E</td>\n",
       "      <td>202</td>\n",
       "      <td>J灵韵无菌半永久眉眼唇定妆</td>\n",
       "      <td>生活服务;美容美发店;美容美发店</td>\n",
       "      <td>071100</td>\n",
       "      <td>[]</td>\n",
       "      <td>阜安西路东亚望京中心b座2803</td>\n",
       "      <td>116.472974,39.992273</td>\n",
       "      <td>13717684348</td>\n",
       "      <td>84</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>B0FFJCXION</td>\n",
       "      <td>B000A8386E</td>\n",
       "      <td>202</td>\n",
       "      <td>花想容生活馆</td>\n",
       "      <td>生活服务;生活服务场所;生活服务场所</td>\n",
       "      <td>070000</td>\n",
       "      <td>[]</td>\n",
       "      <td>阜安西路东亚望京中心B座3015</td>\n",
       "      <td>116.472894,39.992287</td>\n",
       "      <td>15101630359</td>\n",
       "      <td>84</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>B0FFH0VVZ7</td>\n",
       "      <td>B000A8386E</td>\n",
       "      <td>202</td>\n",
       "      <td>中国兰州牛肉拉面(望京店)</td>\n",
       "      <td>餐饮服务;中餐厅;中餐厅</td>\n",
       "      <td>050100</td>\n",
       "      <td>diner</td>\n",
       "      <td>广顺南大街望京东亚中心B座1层底商106中国兰州拉面</td>\n",
       "      <td>116.472534,39.992413</td>\n",
       "      <td>18510911614</td>\n",
       "      <td>86</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>1</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>B0FFKWXI0F</td>\n",
       "      <td>B000A8386E</td>\n",
       "      <td>202</td>\n",
       "      <td>外星人笔记本电脑服务中心(朝阳区店)</td>\n",
       "      <td>生活服务;生活服务场所;生活服务场所</td>\n",
       "      <td>070000</td>\n",
       "      <td>[]</td>\n",
       "      <td>望京园402号东亚望京中心B座3层309H室</td>\n",
       "      <td>116.472927,39.992263</td>\n",
       "      <td>010-82678232;010-82621980</td>\n",
       "      <td>86</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>B0FFH9RFW2</td>\n",
       "      <td>B000A8386E</td>\n",
       "      <td>202</td>\n",
       "      <td>三鑫人力</td>\n",
       "      <td>生活服务;人才市场;人才市场</td>\n",
       "      <td>070800</td>\n",
       "      <td>[]</td>\n",
       "      <td>东亚望京中心B座2712室</td>\n",
       "      <td>116.472789,39.992290</td>\n",
       "      <td>010-53390935;13520727758</td>\n",
       "      <td>86</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "      <td>0</td>\n",
       "      <td>[]</td>\n",
       "      <td>[]</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "            id      parent childtype                         name  \\\n",
       "0   B0FFLIND01          []        []                        鲜粮卷饼王   \n",
       "1   B0FFLH9QP5          []        []              1516串串香火锅(望京一店)   \n",
       "2   B0FFKGPPFW  B0FFFAB6J2       201                    妈妈乐(首开广场)   \n",
       "3   B0FFKGPPFX  B0FFFAB6J2       201                   宝贝计划(首开广场)   \n",
       "4   B0FFKGPPFV  B0FFFAB6J2       201                    妈妈乐(首开广场)   \n",
       "5   B0FFKGPPFY  B0FFFAB6J2       201                   宝贝计划(首开广场)   \n",
       "6   B0FFFAB6J2          []        []                         首开广场   \n",
       "7   B0FFJSZCUX          []        []                       环球创意广场   \n",
       "8   B0FFLIN7XY          []        []                          薯小帅   \n",
       "9   B0FFKTCCC1  B000A8386E       202                         麦多馅饼   \n",
       "10  B0FFFOIRP0  B000A8386E       202                       速达电脑维修   \n",
       "11  B0FFKEMKYU  B000A8386E       202  微软Surface笔记本电脑客户服务中心(望京中心店)   \n",
       "12  B0FFIYEOPB  B000A8386E       202                 施华蔻美发连锁(望京店)   \n",
       "13  B0FFJMRLGR  B000A8386E       202                翰皇专业洗衣洗鞋皮具保养店   \n",
       "14  B0FFG96XH9          []        []                        聚宝盆养生   \n",
       "15  B0FFL1TIR5  B000A8386E       202                J灵韵无菌半永久眉眼唇定妆   \n",
       "16  B0FFJCXION  B000A8386E       202                       花想容生活馆   \n",
       "17  B0FFH0VVZ7  B000A8386E       202                中国兰州牛肉拉面(望京店)   \n",
       "18  B0FFKWXI0F  B000A8386E       202           外星人笔记本电脑服务中心(朝阳区店)   \n",
       "19  B0FFH9RFW2  B000A8386E       202                         三鑫人力   \n",
       "\n",
       "                  type typecode biz_type  \\\n",
       "0     餐饮服务;餐饮相关场所;餐饮相关   050000    diner   \n",
       "1         餐饮服务;中餐厅;火锅店   050117    diner   \n",
       "2   生活服务;生活服务场所;生活服务场所   070000       []   \n",
       "3   生活服务;生活服务场所;生活服务场所   070000       []   \n",
       "4   生活服务;生活服务场所;生活服务场所   070000       []   \n",
       "5   生活服务;生活服务场所;生活服务场所   070000       []   \n",
       "6        商务住宅;楼宇;商务写字楼   120201       []   \n",
       "7   商务住宅;商务住宅相关;商务住宅相关   120000       []   \n",
       "8     餐饮服务;餐饮相关场所;餐饮相关   050000    diner   \n",
       "9         餐饮服务;快餐厅;快餐厅   050300    diner   \n",
       "10      生活服务;维修站点;维修站点   071200       []   \n",
       "11  生活服务;生活服务场所;生活服务场所   070000       []   \n",
       "12    生活服务;美容美发店;美容美发店   071100       []   \n",
       "13  生活服务;生活服务场所;生活服务场所   070000       []   \n",
       "14  生活服务;洗浴推拿场所;洗浴推拿场所   071400       []   \n",
       "15    生活服务;美容美发店;美容美发店   071100       []   \n",
       "16  生活服务;生活服务场所;生活服务场所   070000       []   \n",
       "17        餐饮服务;中餐厅;中餐厅   050100    diner   \n",
       "18  生活服务;生活服务场所;生活服务场所   070000       []   \n",
       "19      生活服务;人才市场;人才市场   070800       []   \n",
       "\n",
       "                                      address              location  \\\n",
       "0                            阜荣街10号悦食里美食城B14号  116.473344,39.992997   \n",
       "1                                      阜荣街10号  116.473197,39.993211   \n",
       "2                               阜荣街10号首开广场F6层  116.473267,39.992781   \n",
       "3                               阜荣街10号首开广场F6层  116.473305,39.992758   \n",
       "4                               阜荣街10号首开广场F7层  116.473223,39.992737   \n",
       "5                               阜荣街10号首开广场F7层  116.473188,39.992705   \n",
       "6                                      阜荣街10号  116.473004,39.993306   \n",
       "7                                      阜荣街10号  116.473495,39.993236   \n",
       "8                            望京悦食里美食街区B1层B4-1  116.472952,39.993471   \n",
       "9                       阜安西路东亚望京中心B座一层思美捷图文快印  116.472755,39.992431   \n",
       "10                       广顺南大街33号东亚望京中心B座104号  116.472760,39.992362   \n",
       "11  望京园402号东亚望京中心B座3层309室微软Surface笔记本电脑售后维修中心  116.472964,39.992306   \n",
       "12                        广顺南大街东亚望京中心B座22-06室  116.472838,39.992319   \n",
       "13                           广顺南大街东亚望京中心B座103  116.472680,39.992370   \n",
       "14                           望京园401东亚望京中心B202  116.472935,39.992283   \n",
       "15                           阜安西路东亚望京中心b座2803  116.472974,39.992273   \n",
       "16                           阜安西路东亚望京中心B座3015  116.472894,39.992287   \n",
       "17                 广顺南大街望京东亚中心B座1层底商106中国兰州拉面  116.472534,39.992413   \n",
       "18                     望京园402号东亚望京中心B座3层309H室  116.472927,39.992263   \n",
       "19                              东亚望京中心B座2712室  116.472789,39.992290   \n",
       "\n",
       "                          tel distance biz_ext importance shopid shopinfo  \\\n",
       "0                          []       15      []         []     []        1   \n",
       "1                          []       21      []         []     []        1   \n",
       "2                          []       27      []         []     []        0   \n",
       "3                          []       30      []         []     []        0   \n",
       "4                          []       31      []         []     []        0   \n",
       "5                          []       34      []         []     []        0   \n",
       "6                          []       35      []         []     []        0   \n",
       "7                010-64733002       37      []         []     []        0   \n",
       "8                 15975103110       54      []         []     []        1   \n",
       "9                 15210853340       73      []         []     []        0   \n",
       "10  010-56224442;010-56226662       80      []         []     []        0   \n",
       "11               010-52462519       80      []         []     []        1   \n",
       "12    18713705115;18810257184       82      []         []     []        0   \n",
       "13   010-84786857;15990998950       82      []         []     []        1   \n",
       "14                         []       83      []         []     []        0   \n",
       "15                13717684348       84      []         []     []        0   \n",
       "16                15101630359       84      []         []     []        0   \n",
       "17                18510911614       86      []         []     []        1   \n",
       "18  010-82678232;010-82621980       86      []         []     []        0   \n",
       "19   010-53390935;13520727758       86      []         []     []        0   \n",
       "\n",
       "   poiweight photos  \n",
       "0         []     []  \n",
       "1         []     []  \n",
       "2         []     []  \n",
       "3         []     []  \n",
       "4         []     []  \n",
       "5         []     []  \n",
       "6         []     []  \n",
       "7         []     []  \n",
       "8         []     []  \n",
       "9         []     []  \n",
       "10        []     []  \n",
       "11        []     []  \n",
       "12        []     []  \n",
       "13        []     []  \n",
       "14        []     []  \n",
       "15        []     []  \n",
       "16        []     []  \n",
       "17        []     []  \n",
       "18        []     []  \n",
       "19        []     []  "
      ]
     },
     "execution_count": 24,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# F-3 表格化，可扩展pandas处理\n",
    "df_中山大学_周边POI = pd.json_normalize(中山大学_周边POI['pois'])\n",
    "df_中山大学_周边POI"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### 多边形搜索 （学生练习）"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 静态地图\n",
    "**计算机视觉、图像识别**"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 25,
   "metadata": {
    "ExecuteTime": {
     "end_time": "2020-04-22T11:17:15.174113Z",
     "start_time": "2020-04-22T11:17:15.080413Z"
    }
   },
   "outputs": [],
   "source": [
    "# >>> from PIL import Image\n",
    "# >>> from io import BytesIO\n",
    "\n",
    "# >>> i = Image.open(BytesIO(r.content))"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 26,
   "metadata": {
    "ExecuteTime": {
     "end_time": "2020-04-22T11:17:15.519870Z",
     "start_time": "2020-04-22T11:17:15.176085Z"
    }
   },
   "outputs": [],
   "source": [
    "from PIL import Image\n",
    "from io import BytesIO\n",
    "def staticmap(location,zoom,size=None,scale=1,markers=None,labels=None,paths=None,traffic=0,page=None,sig=None)->dict:\n",
    "    url = 'https://restapi.amap.com/v3/staticmap?parameters'\n",
    "    params={\n",
    "        'key':key_zyi,\n",
    "        'location':location,\n",
    "        'zoom':zoom,\n",
    "        'size':size,\n",
    "        'scale':scale,\n",
    "        'markers':markers,\n",
    "        'labels':labels,\n",
    "        'paths':paths,\n",
    "        'traffic':traffic,\n",
    "        'sig':sig,\n",
    "        'output':'json'\n",
    "    }\n",
    "    response = requests.get(url,params=params)\n",
    "    data = Image.open(BytesIO(response.content))\n",
    "    return data"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 27,
   "metadata": {
    "ExecuteTime": {
     "end_time": "2020-04-22T11:17:16.134829Z",
     "start_time": "2020-04-22T11:17:15.520855Z"
    },
    "scrolled": true
   },
   "outputs": [
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAZAAAAGQCAMAAAC3Ycb+AAADAFBMVEXl3uj+/vy1v67v++jm3uj++f749u/p6OPx8Ov7+O38/Pny4KHq6eD04aFnZmX24J7v7eXe29Tg2sPs6OHZ19L9/Pvl3One2c/49e329Ov7+vnd188TgOP9/Pv08/DW1NH8/Pr29vTs6eLf2dXu7ejFwbz5+PmAg4X8+/u7rN3x7+jt6O/yzVra29v7+vzy0mtWVlTs6+TX2Njz2orn49n49/Ly1HPy8Oz04J3o5+fe2NL39/W8u7rj3tbk4t76+fnh2tqioqS6tKLw7uj4+Pb49vno5N7r6uO3uLl7h4H29PSfoKHv7ufy1nz39vf046rq5Ozm4tvl4t/p4u3l4tXx8fLw6+/o5Nt3eXutppXy1Xfi293u7ebyykjx8O7y02/xyk+GiIr36b3r5O/5+vuEhYd7fH/03parllD25a+won339Pfq6Obu7ubJwKtmrPd0dnnzuHvo4Ozz8u7x7+mVlpfj4dzs6uTd19GTcd7j3OP08/RucHPj2+Hk3OTz8O6ys7Tl5ebz2oX8+/319PL39vXl4Njt6+3x7+zwzVzh2dzr4+28uLPz3ZTv7eni2+IxMTDl5ODz7/Xh3NXu6PDx7+nh3NPh29H5+fj8+/z5+frb2tiQkpTh4eHX0tn29O3e2OGam534+PX19PFiecj5+Pj08u/r6eFxbV/i2uDi2uT29fPu6+X39fivr6/j3eDxx0GLkJHg2dnx8Onw7eWMjY7f2dDe2NT19PHxxkDtXEzo5Ibx3Z3v6+tiZGe/wL/m3urc1s3xyEmnqKru7OfRzcT38+fd18/8/Pvg2db9/fz7+vjz8Oj7+vrj2uZ8eWTi3t7z4J/q5+Hz2IHe2M35+Pfl3ebt6+L03I718fbn5eDv6t3t6+Xx0GPGxsf7+fTxzFRjaG7v7ub47s/d29vx7PPo5+Hd183wx0TQ0NH7+/rm3ej59u/y8er04aFhY2br6e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REtBFHpjtnwFrDnaBR38cwO9gP3CRNStVJsuNvKlkKNFmA9PHbmNDHttRDSiKunr+Rsf7Lmv9P11/+8uw3N388f9WKx9vnLzkBiMN8bGQYk+XKJkALiiz9K2IHeVjO8+iTR4bs+JtkQATEA+TnscbOzs4iXVHRw2XRz5eNXTr/tgWP+1fP/yiNx88DLgWkzwWAlJaoEbU7TSxadqvLOEDwjr+pi38dQIR07O787yx4LDzfKYPHzwNnXQUI9O88MRFA7uEeyNAg5Bg1qAGE/JA9bMiOyI6/7xUP53Q1IGK0gbfG5MPz8tuCVHakKVMQzOEGclcmx/E766D7kfSC8fvBpk//oRTWC7xoqayoAuSO+AcjO/4IIHLH17qOJAGZw1ubsenUy/Kv8kOTiwDp2I9ubFLDbQqS53gT7n6U7MIDQJq4j6gICHvYkB2RHX8YkOW/GCD/Xz533QCn+SfVAAAAAElFTkSuQmCC\n",
      "text/plain": [
       "<PIL.PngImagePlugin.PngImageFile image mode=P size=400x400 at 0xB4BBEB0>"
      ]
     },
     "execution_count": 27,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "staticmap(location=泰禾_location,zoom=16)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "ExecuteTime": {
     "end_time": "2020-04-20T01:05:06.185819Z",
     "start_time": "2020-04-20T01:05:06.177732Z"
    }
   },
   "source": [
    "## IP定位\n",
    "*推荐算法*"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 28,
   "metadata": {
    "ExecuteTime": {
     "end_time": "2020-04-22T11:17:16.276519Z",
     "start_time": "2020-04-22T11:17:16.135827Z"
    }
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "{'status': '1',\n",
       " 'info': 'OK',\n",
       " 'infocode': '10000',\n",
       " 'province': '北京市',\n",
       " 'city': '北京市',\n",
       " 'adcode': '110000',\n",
       " 'rectangle': '116.0119343,39.66127144;116.7829835,40.2164962'}"
      ]
     },
     "execution_count": 28,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "def IP_location(ip)->dict:\n",
    "    url = 'https://restapi.amap.com/v3/ip?parameters'\n",
    "    params={\n",
    "        'key':key_zyi,\n",
    "        'ip':ip,\n",
    "        'output':'json'\n",
    "    }\n",
    "    response = requests.get(url,params=params)\n",
    "    data = response.json()\n",
    "    return data\n",
    "IP_location('114.247.50.2')"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 批量请求接口"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 37,
   "metadata": {
    "ExecuteTime": {
     "end_time": "2020-04-22T11:23:54.867535Z",
     "start_time": "2020-04-22T11:23:54.180131Z"
    }
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "[{'status': 200,\n",
       "  'body': {'suggestion': {'keywords': {}, 'cities': {}},\n",
       "   'info': 'OK',\n",
       "   'status': '1',\n",
       "   'count': '888',\n",
       "   'pois': [{'typecode': '080000',\n",
       "     'adname': '永清县',\n",
       "     'biz_type': {},\n",
       "     'id': 'B0FFKKSDDS',\n",
       "     'pname': '河北省',\n",
       "     'importance': {},\n",
       "     'parent': {},\n",
       "     'location': '116.511528,39.270463',\n",
       "     'distance': '1082',\n",
       "     'tel': {},\n",
       "     'biz_ext': {'rating': {}, 'cost': {}},\n",
       "     'shopid': {},\n",
       "     'address': {},\n",
       "     'poiweight': {},\n",
       "     'cityname': '廊坊市',\n",
       "     'photos': {},\n",
       "     'type': '体育休闲服务;体育休闲服务场所;体育休闲服务场所',\n",
       "     'shopinfo': '0',\n",
       "     'name': '李庄子村兰阳草莓采摘园',\n",
       "     'childtype': {}},\n",
       "    {'typecode': '080501',\n",
       "     'adname': '永清县',\n",
       "     'biz_type': {},\n",
       "     'id': 'B0FFJM772Z',\n",
       "     'pname': '河北省',\n",
       "     'importance': {},\n",
       "     'parent': {},\n",
       "     'location': '116.513958,39.270648',\n",
       "     'distance': '1205',\n",
       "     'tel': {},\n",
       "     'biz_ext': {'rating': {}, 'cost': {}},\n",
       "     'shopid': {},\n",
       "     'address': '永清镇北辛溜附近',\n",
       "     'poiweight': {},\n",
       "     'cityname': '廊坊市',\n",
       "     'photos': {},\n",
       "     'type': '体育休闲服务;休闲场所;游乐场',\n",
       "     'shopinfo': '0',\n",
       "     'name': '儿童乐园',\n",
       "     'childtype': {}},\n",
       "    {'typecode': '080503',\n",
       "     'adname': '永清县',\n",
       "     'biz_type': {},\n",
       "     'id': 'B013C16BMA',\n",
       "     'pname': '河北省',\n",
       "     'importance': {},\n",
       "     'parent': {},\n",
       "     'location': '116.480285,39.291357',\n",
       "     'distance': '2509',\n",
       "     'tel': '13363650160',\n",
       "     'biz_ext': {'rating': {}, 'cost': {}},\n",
       "     'shopid': {},\n",
       "     'address': '永金一桥东500米',\n",
       "     'poiweight': {},\n",
       "     'cityname': '廊坊市',\n",
       "     'photos': [{'url': 'http://store.is.autonavi.com/showpic/3e517731940c4684ee94acdfb8c39b26',\n",
       "       'title': {},\n",
       "       'provider': {}},\n",
       "      {'url': 'http://store.is.autonavi.com/showpic/8eb4c3eb92489cb32cafa17205dc0112',\n",
       "       'title': {},\n",
       "       'provider': {}},\n",
       "      {'url': 'http://store.is.autonavi.com/showpic/163f3273c7c60016197a2e7912df53df',\n",
       "       'title': {},\n",
       "       'provider': {}}],\n",
       "     'type': '体育休闲服务;休闲场所;采摘园',\n",
       "     'shopinfo': '0',\n",
       "     'name': '开心草莓采摘园',\n",
       "     'childtype': {}},\n",
       "    {'typecode': '080501',\n",
       "     'adname': '永清县',\n",
       "     'biz_type': {},\n",
       "     'id': 'B0FFLPYFW5',\n",
       "     'pname': '河北省',\n",
       "     'importance': {},\n",
       "     'parent': {},\n",
       "     'location': '116.496816,39.302615',\n",
       "     'distance': '2785',\n",
       "     'tel': {},\n",
       "     'biz_ext': {'rating': {}, 'cost': {}},\n",
       "     'shopid': {},\n",
       "     'address': '益昌南路225东北100米',\n",
       "     'poiweight': {},\n",
       "     'cityname': '廊坊市',\n",
       "     'photos': {},\n",
       "     'type': '体育休闲服务;休闲场所;游乐场',\n",
       "     'shopinfo': '0',\n",
       "     'name': 'DIY儿童乐园',\n",
       "     'childtype': {}},\n",
       "    {'typecode': '080603',\n",
       "     'adname': '永清县',\n",
       "     'biz_type': {},\n",
       "     'id': 'B0FFLAIP6H',\n",
       "     'pname': '河北省',\n",
       "     'importance': {},\n",
       "     'parent': {},\n",
       "     'location': '116.496230,39.303248',\n",
       "     'distance': '2865',\n",
       "     'tel': {},\n",
       "     'biz_ext': {'seat_ordering': '0', 'rating': {}, 'cost': {}},\n",
       "     'shopid': {},\n",
       "     'address': '益昌南路',\n",
       "     'poiweight': {},\n",
       "     'cityname': '廊坊市',\n",
       "     'photos': {},\n",
       "     'type': '体育休闲服务;影剧院;剧场',\n",
       "     'shopinfo': '0',\n",
       "     'name': '向阳禾理想城梦剧场',\n",
       "     'childtype': {}},\n",
       "    {'typecode': '080308',\n",
       "     'adname': '永清县',\n",
       "     'biz_type': {},\n",
       "     'id': 'B013C0IMLS',\n",
       "     'pname': '河北省',\n",
       "     'importance': {},\n",
       "     'parent': {},\n",
       "     'location': '116.496593,39.304251',\n",
       "     'distance': '2967',\n",
       "     'tel': {},\n",
       "     'biz_ext': {'rating': '3.5', 'cost': {}},\n",
       "     'shopid': {},\n",
       "     'address': '益昌南路179号',\n",
       "     'poiweight': {},\n",
       "     'cityname': '廊坊市',\n",
       "     'photos': [{'url': 'http://store.is.autonavi.com/showpic/af47a5f4f741f6a3ad170e226f856b92',\n",
       "       'title': {},\n",
       "       'provider': {}}],\n",
       "     'type': '体育休闲服务;娱乐场所;网吧',\n",
       "     'shopinfo': '0',\n",
       "     'name': '梦想网吧(益昌南路店)',\n",
       "     'childtype': {}},\n",
       "    {'typecode': '080119',\n",
       "     'adname': '永清县',\n",
       "     'biz_type': {},\n",
       "     'id': 'B0FFMDQ6D7',\n",
       "     'pname': '河北省',\n",
       "     'importance': {},\n",
       "     'parent': {},\n",
       "     'location': '116.493187,39.304274',\n",
       "     'distance': '3045',\n",
       "     'tel': '13141201944',\n",
       "     'biz_ext': {'rating': {}, 'cost': {}},\n",
       "     'shopid': {},\n",
       "     'address': '武隆南路宏益街',\n",
       "     'poiweight': {},\n",
       "     'cityname': '廊坊市',\n",
       "     'photos': [{'url': 'http://store.is.autonavi.com/showpic/0fb1662d06ad761b51070fe0ca4c26c5',\n",
       "       'title': {},\n",
       "       'provider': {}}],\n",
       "     'type': '体育休闲服务;运动场馆;跆拳道场馆',\n",
       "     'shopinfo': '1',\n",
       "     'name': '龙圣跆拳道馆',\n",
       "     'childtype': {}},\n",
       "    {'typecode': '080000',\n",
       "     'adname': '永清县',\n",
       "     'biz_type': {},\n",
       "     'id': 'B0FFJQZNZW',\n",
       "     'pname': '河北省',\n",
       "     'importance': {},\n",
       "     'parent': {},\n",
       "     'location': '116.497741,39.309459',\n",
       "     'distance': '3519',\n",
       "     'tel': '15210485655',\n",
       "     'biz_ext': {'rating': {}, 'cost': {}},\n",
       "     'shopid': {},\n",
       "     'address': '益昌南路268号新旺小区门口',\n",
       "     'poiweight': {},\n",
       "     'cityname': '廊坊市',\n",
       "     'photos': [{'url': 'http://store.is.autonavi.com/showpic/67416ad37c69db61c270016fa6f430cc',\n",
       "       'title': {},\n",
       "       'provider': {}},\n",
       "      {'url': 'http://store.is.autonavi.com/showpic/d89fd2e7d4b62cba6187c87cc838bb89',\n",
       "       'title': {},\n",
       "       'provider': {}},\n",
       "      {'url': 'http://store.is.autonavi.com/showpic/dbaae4d6ace1004675ce4f252088ffe6',\n",
       "       'title': {},\n",
       "       'provider': {}}],\n",
       "     'type': '体育休闲服务;体育休闲服务场所;体育休闲服务场所',\n",
       "     'shopinfo': '1',\n",
       "     'name': '熙瑞国际游泳健身会所',\n",
       "     'childtype': {}},\n",
       "    {'typecode': '080113',\n",
       "     'adname': '永清县',\n",
       "     'biz_type': {},\n",
       "     'id': 'B0FFM4EHTE',\n",
       "     'pname': '河北省',\n",
       "     'importance': {},\n",
       "     'parent': {},\n",
       "     'location': '116.495838,39.309940',\n",
       "     'distance': '3600',\n",
       "     'tel': {},\n",
       "     'biz_ext': {'rating': {}, 'cost': {}},\n",
       "     'shopid': {},\n",
       "     'address': {},\n",
       "     'poiweight': {},\n",
       "     'cityname': '廊坊市',\n",
       "     'photos': {},\n",
       "     'type': '体育休闲服务;运动场馆;台球厅',\n",
       "     'shopinfo': '0',\n",
       "     'name': 'K9台球',\n",
       "     'childtype': {}},\n",
       "    {'typecode': '080308',\n",
       "     'adname': '永清县',\n",
       "     'biz_type': {},\n",
       "     'id': 'B0FFJKVFLQ',\n",
       "     'pname': '河北省',\n",
       "     'importance': {},\n",
       "     'parent': {},\n",
       "     'location': '116.497249,39.310649',\n",
       "     'distance': '3656',\n",
       "     'tel': {},\n",
       "     'biz_ext': {'rating': {}, 'cost': {}},\n",
       "     'shopid': {},\n",
       "     'address': '益昌中路与益昌南路交叉口西南50米',\n",
       "     'poiweight': {},\n",
       "     'cityname': '廊坊市',\n",
       "     'photos': {},\n",
       "     'type': '体育休闲服务;娱乐场所;网吧',\n",
       "     'shopinfo': '0',\n",
       "     'name': '网咖',\n",
       "     'childtype': {}}],\n",
       "   'infocode': '10000'},\n",
       "  'header': {'gsid': '011021045060158755463628500019715717479',\n",
       "   'Vary': 'Accept-Encoding',\n",
       "   'Content-Type': 'application/json;charset=UTF-8',\n",
       "   'Access-Control-Allow-Methods': '*',\n",
       "   'Access-Control-Allow-Origin': '*',\n",
       "   'sc': '0.137',\n",
       "   'Content-Length': 5294,\n",
       "   'Access-Control-Allow-Headers': 'DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,key,x-biz,x-info,platinfo,encr,enginever,gzipped,poiid',\n",
       "   'X-Powered-By': 'ring/1.0.0'}},\n",
       " {'status': 200,\n",
       "  'body': {'suggestion': {'keywords': {}, 'cities': {}},\n",
       "   'info': 'OK',\n",
       "   'status': '1',\n",
       "   'count': '878',\n",
       "   'pois': [{'typecode': '080000',\n",
       "     'adname': '曹妃甸区',\n",
       "     'biz_type': {},\n",
       "     'id': 'B0FFIT4V37',\n",
       "     'pname': '河北省',\n",
       "     'importance': {},\n",
       "     'parent': {},\n",
       "     'location': '118.509300,39.261324',\n",
       "     'distance': '1935',\n",
       "     'tel': {},\n",
       "     'biz_ext': {'rating': {}, 'cost': {}},\n",
       "     'shopid': {},\n",
       "     'address': '昌丰路与昌盛街交叉口东150米',\n",
       "     'poiweight': {},\n",
       "     'cityname': '唐山市',\n",
       "     'photos': {},\n",
       "     'type': '体育休闲服务;体育休闲服务场所;体育休闲服务场所',\n",
       "     'shopinfo': '0',\n",
       "     'name': '利民老年公寓',\n",
       "     'childtype': {}},\n",
       "    {'typecode': '080500',\n",
       "     'adname': '曹妃甸区',\n",
       "     'biz_type': {},\n",
       "     'id': 'B0FFM1WN4Q',\n",
       "     'pname': '河北省',\n",
       "     'importance': {},\n",
       "     'parent': {},\n",
       "     'location': '118.473800,39.284305',\n",
       "     'distance': '2684',\n",
       "     'tel': '13102692203;15032998415',\n",
       "     'biz_ext': {'rating': {}, 'cost': {}},\n",
       "     'shopid': {},\n",
       "     'address': '永丰路与建设大街交叉口北行200米再东行200米',\n",
       "     'poiweight': {},\n",
       "     'cityname': '唐山市',\n",
       "     'photos': [{'url': 'http://store.is.autonavi.com/showpic/02f9a9353f15bb7c882c281addaca79a',\n",
       "       'title': {},\n",
       "       'provider': {}},\n",
       "      {'url': 'http://store.is.autonavi.com/showpic/462da2324343c04c255e5b6b55403952',\n",
       "       'title': {},\n",
       "       'provider': {}},\n",
       "      {'url': 'http://store.is.autonavi.com/showpic/dfc87db906b2994dae80342d4563b1e9',\n",
       "       'title': {},\n",
       "       'provider': {}}],\n",
       "     'type': '体育休闲服务;休闲场所;休闲场所',\n",
       "     'shopinfo': '1',\n",
       "     'name': '唐山兵途枪战运动',\n",
       "     'childtype': {}},\n",
       "    {'typecode': '080301',\n",
       "     'adname': '曹妃甸区',\n",
       "     'biz_type': {},\n",
       "     'id': 'B0FFF2T193',\n",
       "     'pname': '河北省',\n",
       "     'importance': {},\n",
       "     'parent': {},\n",
       "     'location': '118.471098,39.281979',\n",
       "     'distance': '2861',\n",
       "     'tel': '0315-8037777',\n",
       "     'biz_ext': {'rating': '4.3', 'cost': {}},\n",
       "     'shopid': {},\n",
       "     'address': '建设大街与永丰路交叉口西南角',\n",
       "     'poiweight': {},\n",
       "     'cityname': '唐山市',\n",
       "     'photos': [{'url': 'http://store.is.autonavi.com/showpic/c8fd0a18befbe849ce8df7908d88ed24',\n",
       "       'title': {},\n",
       "       'provider': {}},\n",
       "      {'url': 'http://store.is.autonavi.com/showpic/468baaf5453e6c1b38d0c4c417183b40',\n",
       "       'title': {},\n",
       "       'provider': {}},\n",
       "      {'url': 'http://store.is.autonavi.com/showpic/a0a5fff0b63e60b3508c2ecb197d07e5',\n",
       "       'title': {},\n",
       "       'provider': {}}],\n",
       "     'type': '体育休闲服务;娱乐场所;夜总会',\n",
       "     'shopinfo': '0',\n",
       "     'name': '一代佳人夜总会',\n",
       "     'childtype': {}},\n",
       "    {'typecode': '080000',\n",
       "     'adname': '曹妃甸区',\n",
       "     'biz_type': {},\n",
       "     'id': 'B0FFKPS8TZ',\n",
       "     'pname': '河北省',\n",
       "     'importance': {},\n",
       "     'parent': {},\n",
       "     'location': '118.471344,39.273170',\n",
       "     'distance': '2864',\n",
       "     'tel': {},\n",
       "     'biz_ext': {'rating': {}, 'cost': {}},\n",
       "     'shopid': {},\n",
       "     'address': '垦丰大街与永丰路交叉口南50米',\n",
       "     'poiweight': {},\n",
       "     'cityname': '唐山市',\n",
       "     'photos': {},\n",
       "     'type': '体育休闲服务;体育休闲服务场所;体育休闲服务场所',\n",
       "     'shopinfo': '0',\n",
       "     'name': '新少年跆拳道馆',\n",
       "     'childtype': {}},\n",
       "    {'typecode': '080402',\n",
       "     'adname': '曹妃甸区',\n",
       "     'biz_type': {},\n",
       "     'id': 'B013B031EO',\n",
       "     'pname': '河北省',\n",
       "     'importance': {},\n",
       "     'parent': {},\n",
       "     'location': '118.469256,39.278622',\n",
       "     'distance': '2989',\n",
       "     'tel': {},\n",
       "     'biz_ext': {'rating': {}, 'cost': {}},\n",
       "     'shopid': {},\n",
       "     'address': '曙光街23号',\n",
       "     'poiweight': {},\n",
       "     'cityname': '唐山市',\n",
       "     'photos': {},\n",
       "     'type': '体育休闲服务;度假疗养场所;疗养院',\n",
       "     'shopinfo': '0',\n",
       "     'name': '光荣院(曙光街)',\n",
       "     'childtype': {}},\n",
       "    {'typecode': '080500',\n",
       "     'adname': '曹妃甸区',\n",
       "     'biz_type': {},\n",
       "     'id': 'B0FFHF91Y9',\n",
       "     'pname': '河北省',\n",
       "     'importance': {},\n",
       "     'parent': {},\n",
       "     'location': '118.467429,39.273141',\n",
       "     'distance': '3196',\n",
       "     'tel': {},\n",
       "     'biz_ext': {'rating': {}, 'cost': {}},\n",
       "     'shopid': {},\n",
       "     'address': '垦丰大街8号',\n",
       "     'poiweight': {},\n",
       "     'cityname': '唐山市',\n",
       "     'photos': {},\n",
       "     'type': '体育休闲服务;休闲场所;休闲场所',\n",
       "     'shopinfo': '0',\n",
       "     'name': '曹妃甸区老干部活动中心',\n",
       "     'childtype': {}},\n",
       "    {'typecode': '080119',\n",
       "     'adname': '曹妃甸区',\n",
       "     'biz_type': {},\n",
       "     'id': 'B0FFLDK6TP',\n",
       "     'pname': '河北省',\n",
       "     'importance': {},\n",
       "     'parent': {},\n",
       "     'location': '118.466867,39.281969',\n",
       "     'distance': '3222',\n",
       "     'tel': '17736580504',\n",
       "     'biz_ext': {'rating': {}, 'cost': {}},\n",
       "     'shopid': {},\n",
       "     'address': '建设大街红赫世家东底商58号',\n",
       "     'poiweight': {},\n",
       "     'cityname': '唐山市',\n",
       "     'photos': [{'url': 'http://store.is.autonavi.com/showpic/b59e23956de23e47401416a6b4808c0c',\n",
       "       'title': {},\n",
       "       'provider': {}}],\n",
       "     'type': '体育休闲服务;运动场馆;跆拳道场馆',\n",
       "     'shopinfo': '0',\n",
       "     'name': '泽仁跆拳道',\n",
       "     'childtype': {}},\n",
       "    {'typecode': '080000',\n",
       "     'adname': '滦南县',\n",
       "     'biz_type': {},\n",
       "     'id': 'B0FFH9MB8R',\n",
       "     'pname': '河北省',\n",
       "     'importance': {},\n",
       "     'parent': {},\n",
       "     'location': '118.527757,39.301926',\n",
       "     'distance': '3343',\n",
       "     'tel': {},\n",
       "     'biz_ext': {'rating': {}, 'cost': {}},\n",
       "     'shopid': {},\n",
       "     'address': '杨柏线北50米',\n",
       "     'poiweight': {},\n",
       "     'cityname': '唐山市',\n",
       "     'photos': {},\n",
       "     'type': '体育休闲服务;体育休闲服务场所;体育休闲服务场所',\n",
       "     'shopinfo': '0',\n",
       "     'name': '陶乐宝儿童乐园',\n",
       "     'childtype': {}},\n",
       "    {'typecode': '080304',\n",
       "     'adname': '曹妃甸区',\n",
       "     'biz_type': {},\n",
       "     'id': 'B0FFLOR4DN',\n",
       "     'pname': '河北省',\n",
       "     'importance': {},\n",
       "     'parent': {},\n",
       "     'location': '118.466494,39.287701',\n",
       "     'distance': '3395',\n",
       "     'tel': {},\n",
       "     'biz_ext': {'rating': {}, 'cost': {}},\n",
       "     'shopid': {},\n",
       "     'address': '青年城二期东底商24号',\n",
       "     'poiweight': {},\n",
       "     'cityname': '唐山市',\n",
       "     'photos': [{'url': 'http://store.is.autonavi.com/showpic/29997dd7b0c66b1dc6f15a253918ccf2',\n",
       "       'title': {},\n",
       "       'provider': {}},\n",
       "      {'url': 'http://store.is.autonavi.com/showpic/098df33a76f03e8d55672683f63da5d8',\n",
       "       'title': {},\n",
       "       'provider': {}}],\n",
       "     'type': '体育休闲服务;娱乐场所;酒吧',\n",
       "     'shopinfo': '1',\n",
       "     'name': 'ELK酒吧',\n",
       "     'childtype': {}},\n",
       "    {'typecode': '080113',\n",
       "     'adname': '滦南县',\n",
       "     'biz_type': {},\n",
       "     'id': 'B0FFMB6BAG',\n",
       "     'pname': '河北省',\n",
       "     'importance': {},\n",
       "     'parent': {},\n",
       "     'location': '118.528670,39.302678',\n",
       "     'distance': '3457',\n",
       "     'tel': {},\n",
       "     'biz_ext': {'rating': {}, 'cost': {}},\n",
       "     'shopid': {},\n",
       "     'address': {},\n",
       "     'poiweight': {},\n",
       "     'cityname': '唐山市',\n",
       "     'photos': {},\n",
       "     'type': '体育休闲服务;运动场馆;台球厅',\n",
       "     'shopinfo': '0',\n",
       "     'name': '下午时光台球俱乐部',\n",
       "     'childtype': {}}],\n",
       "   'infocode': '10000'},\n",
       "  'header': {'gsid': '011021045060158755463628500019715717479',\n",
       "   'Vary': 'Accept-Encoding',\n",
       "   'Content-Type': 'application/json;charset=UTF-8',\n",
       "   'Access-Control-Allow-Methods': '*',\n",
       "   'Access-Control-Allow-Origin': '*',\n",
       "   'sc': '0.130',\n",
       "   'Content-Length': 5564,\n",
       "   'Access-Control-Allow-Headers': 'DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,key,x-biz,x-info,platinfo,encr,enginever,gzipped,poiid',\n",
       "   'X-Powered-By': 'ring/1.0.0'}}]"
      ]
     },
     "execution_count": 37,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "def batch():\n",
    "    url = 'https://restapi.amap.com/v3/batch?key=317b2b98b27b266839553f10debb9b0f'\n",
    "    headers = {\n",
    "        'Content-Type': 'application/json',\n",
    "    }\n",
    "    params={\n",
    "    \"ops\": [\n",
    "        {\n",
    "            \"url\": \"/v3/place/around?offset=10&page=1&key=317b2b98b27b266839553f10debb9b0f&location=116.50394379585519,39.278209477408794&output=json&radius=100000&types=080000\"\n",
    "        },\n",
    "        {\n",
    "            \"url\": \"/v3/place/around?offset=10&page=1&key=317b2b98b27b266839553f10debb9b0f&location=118.50394379585519,39.278209477408794&output=json&radius=100000&types=080000\"\n",
    "        }\n",
    "    ]\n",
    "}\n",
    "    response = requests.get(url,json=params,headers=headers)\n",
    "    data = response.json()\n",
    "    return data\n",
    "batch()"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 坐标转换"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 30,
   "metadata": {
    "ExecuteTime": {
     "end_time": "2020-04-22T11:17:16.592828Z",
     "start_time": "2020-04-22T11:17:16.430228Z"
    }
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "{'status': '1',\n",
       " 'info': 'ok',\n",
       " 'infocode': '10000',\n",
       " 'locations': '113.949597,22.532795'}"
      ]
     },
     "execution_count": 30,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "def Coordinate_tf(locations,coordsys=None)->dict:\n",
    "    url = 'https://restapi.amap.com/v3/assistant/coordinate/convert?parameters'\n",
    "    params={\n",
    "        'key':key_zyi,\n",
    "        'locations':locations,\n",
    "        'coordsys':coordsys,\n",
    "        'output':'json'\n",
    "    }\n",
    "    response = requests.get(url,params=params)\n",
    "    data = response.json()\n",
    "    return data\n",
    "Coordinate_tf('113.949597,22.532795',)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 天气查询\n",
    "**推荐算法**"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 31,
   "metadata": {
    "ExecuteTime": {
     "end_time": "2020-04-22T11:17:16.756148Z",
     "start_time": "2020-04-22T11:17:16.593823Z"
    }
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "{'status': '1',\n",
       " 'count': '1',\n",
       " 'info': 'OK',\n",
       " 'infocode': '10000',\n",
       " 'forecasts': [{'city': '东城区',\n",
       "   'adcode': '110101',\n",
       "   'province': '北京',\n",
       "   'reporttime': '2020-04-22 18:58:39',\n",
       "   'casts': [{'date': '2020-04-22',\n",
       "     'week': '3',\n",
       "     'dayweather': '晴',\n",
       "     'nightweather': '晴',\n",
       "     'daytemp': '15',\n",
       "     'nighttemp': '6',\n",
       "     'daywind': '北',\n",
       "     'nightwind': '北',\n",
       "     'daypower': '4',\n",
       "     'nightpower': '4'},\n",
       "    {'date': '2020-04-23',\n",
       "     'week': '4',\n",
       "     'dayweather': '晴',\n",
       "     'nightweather': '晴',\n",
       "     'daytemp': '18',\n",
       "     'nighttemp': '5',\n",
       "     'daywind': '西北',\n",
       "     'nightwind': '西北',\n",
       "     'daypower': '4',\n",
       "     'nightpower': '4'},\n",
       "    {'date': '2020-04-24',\n",
       "     'week': '5',\n",
       "     'dayweather': '晴',\n",
       "     'nightweather': '晴',\n",
       "     'daytemp': '27',\n",
       "     'nighttemp': '12',\n",
       "     'daywind': '西',\n",
       "     'nightwind': '西',\n",
       "     'daypower': '5',\n",
       "     'nightpower': '5'},\n",
       "    {'date': '2020-04-25',\n",
       "     'week': '6',\n",
       "     'dayweather': '晴',\n",
       "     'nightweather': '多云',\n",
       "     'daytemp': '20',\n",
       "     'nighttemp': '7',\n",
       "     'daywind': '南',\n",
       "     'nightwind': '南',\n",
       "     'daypower': '4',\n",
       "     'nightpower': '4'}]}]}"
      ]
     },
     "execution_count": 31,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "def weather(city,extensions='all')->dict:\n",
    "    url = 'https://restapi.amap.com/v3/weather/weatherInfo?parameters'\n",
    "    params={\n",
    "        'key':key_zyi,\n",
    "        'city':city,\n",
    "        'extensions':extensions,\n",
    "        'output':'json'\n",
    "    }\n",
    "    response = requests.get(url,params=params)\n",
    "    data = response.json()\n",
    "    return data\n",
    "weather('110101')"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 输入提示\n",
    "*推荐算法、自然语言处理、机器学习*"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 32,
   "metadata": {
    "ExecuteTime": {
     "end_time": "2020-04-22T11:17:16.949088Z",
     "start_time": "2020-04-22T11:17:16.757145Z"
    }
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "{'status': '1',\n",
       " 'count': '10',\n",
       " 'info': 'OK',\n",
       " 'infocode': '10000',\n",
       " 'tips': [{'id': 'B000A60DA1',\n",
       "   'name': '天安门',\n",
       "   'district': '北京市东城区',\n",
       "   'adcode': '110101',\n",
       "   'location': '116.397451,39.909187',\n",
       "   'address': '长安街北侧',\n",
       "   'typecode': '110202',\n",
       "   'city': []},\n",
       "  {'id': 'B000A83C1S',\n",
       "   'name': '天安门广场',\n",
       "   'district': '北京市东城区',\n",
       "   'adcode': '110101',\n",
       "   'location': '116.397755,39.903179',\n",
       "   'address': '东长安街',\n",
       "   'typecode': '110105',\n",
       "   'city': []},\n",
       "  {'id': 'BV10005941',\n",
       "   'name': '天安门西(地铁站)',\n",
       "   'district': '北京市西城区',\n",
       "   'adcode': '110102',\n",
       "   'location': '116.391278,39.907472',\n",
       "   'address': '1号线',\n",
       "   'typecode': '150500',\n",
       "   'city': []},\n",
       "  {'id': 'B01D80P7F6',\n",
       "   'name': '天安门业',\n",
       "   'district': '内蒙古自治区包头市土默特右旗',\n",
       "   'adcode': '150221',\n",
       "   'location': '110.522188,40.578443',\n",
       "   'address': '科技路附近',\n",
       "   'typecode': '060603',\n",
       "   'city': []},\n",
       "  {'id': 'BV10006499',\n",
       "   'name': '天安门东(地铁站)',\n",
       "   'district': '北京市东城区',\n",
       "   'adcode': '110101',\n",
       "   'location': '116.401216,39.907780',\n",
       "   'address': '1号线',\n",
       "   'typecode': '150500',\n",
       "   'city': []},\n",
       "  {'id': 'BV10006498',\n",
       "   'name': '天安门东(公交站)',\n",
       "   'district': '北京市东城区',\n",
       "   'adcode': '110101',\n",
       "   'location': '116.401352,39.907650',\n",
       "   'address': '120路;1路;2路;52路;82路;夜17路;夜1路;夜2路;旅游公交1线;旅游公交2线;观光1线;观光2线',\n",
       "   'typecode': '150700',\n",
       "   'city': []},\n",
       "  {'id': 'B000AAACSP',\n",
       "   'name': '天安门服务部',\n",
       "   'district': '北京市东城区',\n",
       "   'adcode': '110101',\n",
       "   'location': '116.398011,39.909301',\n",
       "   'address': '广场东侧路44号附近',\n",
       "   'typecode': '070000',\n",
       "   'city': []},\n",
       "  {'id': 'B000A9PIVP',\n",
       "   'name': '天安门华表',\n",
       "   'district': '北京市东城区',\n",
       "   'adcode': '110101',\n",
       "   'location': '116.396911,39.908058',\n",
       "   'address': '东长安街天安门内',\n",
       "   'typecode': '110200',\n",
       "   'city': []},\n",
       "  {'id': 'B0FFG8YDKK',\n",
       "   'name': '天安门-城楼',\n",
       "   'district': '北京市东城区',\n",
       "   'adcode': '110101',\n",
       "   'location': '116.397573,39.908743',\n",
       "   'address': '东长安街天安门',\n",
       "   'typecode': '110202',\n",
       "   'city': []},\n",
       "  {'id': 'B0FFF64RWH',\n",
       "   'name': '天安门城楼售票处',\n",
       "   'district': '北京市东城区',\n",
       "   'adcode': '110101',\n",
       "   'location': '116.397309,39.909473',\n",
       "   'address': '东长安街天安门城楼内',\n",
       "   'typecode': '070306',\n",
       "   'city': []}]}"
      ]
     },
     "execution_count": 32,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "def input_remind(keywords)->dict:\n",
    "    url = 'https://restapi.amap.com/v3/assistant/inputtips?parameters'\n",
    "    params={\n",
    "        'key': key_zyi,\n",
    "        'keywords':keywords,\n",
    "        'output':'json'\n",
    "    }\n",
    "    response = requests.get(url,params=params)\n",
    "    data = response.json()\n",
    "    return data\n",
    "input_remind('天安门')"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 交通态势\n",
    "*计算机视觉、专家系统*"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 33,
   "metadata": {
    "ExecuteTime": {
     "end_time": "2020-04-22T11:17:17.283409Z",
     "start_time": "2020-04-22T11:17:17.119128Z"
    }
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "{'status': '1',\n",
       " 'info': 'OK',\n",
       " 'infocode': '10000',\n",
       " 'trafficinfo': {'description': '北环大道：双向缓慢，从北环新洲立交到北环彩田立交严重拥堵，北环上步立交附近自东向西严重拥堵。',\n",
       "  'evaluation': {'expedite': '32.46%',\n",
       "   'congested': '50.87%',\n",
       "   'blocked': '8.54%',\n",
       "   'unknown': '8.13%',\n",
       "   'status': '3',\n",
       "   'description': '行驶缓慢'}}}"
      ]
     },
     "execution_count": 33,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "def traffic(name,adcode=None,level=5,extensions='base',city=None)->dict:\n",
    "    url = 'https://restapi.amap.com/v3/traffic/status/road?parameters'\n",
    "    params={\n",
    "        'key':key_zyi,\n",
    "        'level':level,\n",
    "        'extensions':extensions,\n",
    "        'output':'json',\n",
    "        'city':city,\n",
    "        'name':name,\n",
    "        'adcode':adcode,\n",
    "    }\n",
    "    response = requests.get(url,params=params)\n",
    "    data = response.json()\n",
    "    return data\n",
    "traffic('北环大道','440300')"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 地理围栏\n",
    "**计算机实现智能的原理、专家系统、机器学习、图像识别**"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 34,
   "metadata": {
    "ExecuteTime": {
     "end_time": "2020-04-22T11:17:17.894612Z",
     "start_time": "2020-04-22T11:17:17.520651Z"
    }
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "{'data': {'message': '新增围栏已存在', 'status': '106'},\n",
       " 'errcode': 0,\n",
       " 'errdetail': None,\n",
       " 'errmsg': 'OK',\n",
       " 'ext': None}"
      ]
     },
     "execution_count": 34,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "def creat_wl(name,center,radius,repeat='Mon',)->dict:\n",
    "    url = 'https://restapi.amap.com/v4/geofence/meta?key=317b2b98b27b266839553f10debb9b0f'\n",
    "    params={\n",
    "        'name':name,\n",
    "        'center':center,\n",
    "        'radius':radius,\n",
    "        'repeat':repeat,\n",
    "    }\n",
    "    response = requests.post(url,json=params)\n",
    "    data = response.json()\n",
    "    return data\n",
    "creat_wl('测试围栏','115.672126,38.817129',100)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 轨迹纠偏\n",
    "**推荐算法、计算机视觉**"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 35,
   "metadata": {
    "ExecuteTime": {
     "end_time": "2020-04-22T11:17:18.185537Z",
     "start_time": "2020-04-22T11:17:17.914556Z"
    }
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "{'data': {'distance': 23.0,\n",
       "  'points': [{'x': 116.44943208825043, 'y': 40.01474429256184},\n",
       "   {'x': 116.449458182449, 'y': 40.0145304056883}]},\n",
       " 'errcode': 0,\n",
       " 'errdetail': None,\n",
       " 'errmsg': 'OK',\n",
       " 'ext': None}"
      ]
     },
     "execution_count": 35,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "def correct_error()->dict:\n",
    "    url = 'https://restapi.amap.com/v4/grasproad/driving?key=317b2b98b27b266839553f10debb9b0f'\n",
    "    params=[{\n",
    "\"x\": 116.449428,\n",
    "\"y\": 40.014744,\n",
    "\"sp\": 5,\n",
    "\"ag\": 110,\n",
    "\"tm\": 1478831754\n",
    "}, {\n",
    "\"x\": 116.449639,\n",
    "\"y\": 40.014778,\n",
    "\"sp\": 3,\n",
    "\"ag\": 110,\n",
    "\"tm\": 20\n",
    "}, {\n",
    "\"x\": 116.449869,\n",
    "\"y\": 40.014716,\n",
    "\"sp\": 3,\n",
    "\"ag\": 109,\n",
    "\"tm\": 35\n",
    "}, {\n",
    "\"x\": 116.450074,\n",
    "\"y\": 40.014658,\n",
    "\"sp\": 3,\n",
    "\"ag\": 110,\n",
    "\"tm\": 36\n",
    "}, {\n",
    "\"x\": 116.450273,\n",
    "\"y\": 40.014598,\n",
    "\"sp\": 2,\n",
    "\"ag\": 111,\n",
    "\"tm\": 26\n",
    "}, {\n",
    "\"x\": 116.450263,\n",
    "\"y\": 40.014588,\n",
    "\"sp\": 2,\n",
    "\"ag\": 109,\n",
    "\"tm\": 18\n",
    "}]\n",
    "    response = requests.post(url,json=params)\n",
    "    data = response.json()\n",
    "    return data\n",
    "correct_error()"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# 尝试设计一个简单的应用，至少涉及3个API"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "\n",
    "*进入某一个地区时，自动查询当地天气及路况*\n",
    "\n",
    "*（天气查询，交通态势，地理围栏）*"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# 总结及展望\n",
    "\n",
    "## 对于复杂json\n",
    "\n",
    "对于复杂json，细读API文档和测试尤其关键，可能有些功能是测试完才知道如何实现和体现其价值的\n",
    "\n",
    "## 思考地图POI中的推荐算法工作原理\n",
    "\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.6.10"
  },
  "toc": {
   "base_numbering": 1,
   "nav_menu": {},
   "number_sections": true,
   "sideBar": true,
   "skip_h1_title": false,
   "title_cell": "Table of Contents",
   "title_sidebar": "Contents",
   "toc_cell": false,
   "toc_position": {
    "height": "calc(100% - 180px)",
    "left": "10px",
    "top": "150px",
    "width": "214.188px"
   },
   "toc_section_display": true,
   "toc_window_display": true
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
